How to Convert email from MBOX to EML using Python

896 views Asked by At

Is there a way to convert some MBOX files to individual EML files using Python?

I have a client that downloaded his emails from GMail as MBOX collection. But I need to convert them to individual EML files so I can upload them to his new email client/server - which does not accept MBOX files.

Thanks in advance for any feedback.

UPDATE: I have no code yet. I am wondering if it's even possible to do this via a small app, if not I'll purchase one of those available online. Just thought it would be cool to try it myself first.

Also, from my understanding, an mbox is a collection of emails (.eml files) and a single email would be just an .eml file.

0

There are 0 answers