Email to XML

I’ve been looking from some time to ways to convert regular emails
to XML documents. It is not that difficult except when it comes to MIME
handling and attachments.

 I was aware of the XMTP implementation but when I tested (a long time ago) I wasn’t very happy with the way it worked. I should check it now.

Now, today I found a RFC on the same topic, looks complex, but it is worth a read.