You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The default part sort order is [ "text/plain", "text/enriched", "text/html" ]. If a multipart email contains text and html parts as well as a text attachment, the text attachment will often appear before the text body in the message.
In some mail clients this results in the attachment being treated as the message body.
I'm not sure if this is something that should be fixed, but if it is, a simple solution would be to look for content-disposition=attachment when sorting parts.
I can send a pull request if this seems like a legitimate bug.