Skip to content

Instantly share code, notes, and snippets.

@markushuber
markushuber / eml2mbox.py
Created January 24, 2024 10:06
Simple Python 3 script to convert eml Email files to mbox files.
"""
Simple Python 3 script to convert eml Email files to mbox files.
Convert script requires only The Python Standard Libraries.
This script is useful to convert eml files exported from
E-Mail Accounts to mbox files. Mbox files can be imported
in common email clients such as Outlook, Thunderbird, or
Gnome Evolution.
Placing eml files to be converted to mbox files:

Keybase proof

I hereby claim:

  • I am markushuber on github.
  • I am nysos (https://keybase.io/nysos) on keybase.
  • I have a public key whose fingerprint is 87D8 9100 E149 69A2 EBB6 2D24 755F 1321 AC3D 7466

To claim this, I am signing this object: