mirror of
https://github.com/chatmail/core.git
synced 2026-04-06 07:32:12 +03:00
Google Workspace has an option "Append footer" which appends standard footer defined by administrator to all outgoing messages. However, there is no plain text part in encrypted messages sent by Delta Chat, so Google Workspace turn the message into multipart/mixed MIME, where the first part is an empty plaintext part with a footer and the second part is the original encrypted message. This commit makes Delta Chat attempt to repair such messages, similarly to how it already repairs "Mixed Up" MIME structure in `get_mixed_up_mime`.