Tiny CLI tool that converts .eml
email files to .html
files.
pip install eml-to-html
eml-to-html [EML FILE]...
Feel free to pass a glob. For example:
eml-to-html some_email_file_1.eml some_email_file_2.eml
and
eml-to-html *.eml
are both valid calls to the command. Cheers!
✨
Running eml-to-html
on the test_emails
folder:
$ eml-to-html test_emails/*.eml
🟢 Written `test_email_1.html`
🟢 Written `test_email_2.html`
File tree is now:
$ tree test_emails
test_emails
├── test_email_1.eml
├── test_email_1.html
├── test_email_2.eml
└── test_email_2.html
0 directories, 4 files
This micro module was written by Jeroen Overschie in 2022.