Hi, I’m currently trying to parse the debbugs bug log files directly. They contain emails (and other information), so I cut out the email text and feed it to parse-email. In some cases the emails don’t seem to have a content-transfer-encoding header, which leads to an error when trying to decode the body. So instead of using parse-email directly I use (email->headers+body (string->bytevector content "utf-8")) and run parse-email-headers over the first value, add a dummy content-transfer-encoding header with value 'binary if it’s missing and then parse the body. Now I noticed two odd things: * I sometimes need to discard the first two lines of the raw email to get the headers to be fully parsed * in some cases the result of parse-email-headers is a literal “fields”, not an alist. Attached is one of these emails. -- Ricardo