Fix message initialization. Was failing in case the message has no alternative and no attachament. In case the message has an alternative and no attachment, it was initialized twice.
I think I fixed the problem with multipart/mixed of e-mails with no attachments. This should be tested though. I am putting this out to see if I might have a mismatch in my train of thought.