No can do. A MIME content type of message/rfc822 must be a valid MIME
message. And we already know it's not.
Well of course I should have mentioned this. But as the corrupted message is encapsulated into a well formatted message,
No it's not. It's a part of the original message. Encapsulated
message/rfc822 content must also be parsed by IMAP servers, to access the
individual sections of the encapsulated MIME message. Essentially, the
encapsulated message/rfc822 content is attached into its parent MIME tree.
Think of it as multipart content with only one section.
the result is a valid mail message
Nope. If message/rfc822 is corrupted, its parent message is corrupted as