Skip to content

Tiny CLI tool that converts .eml email files to .html files

License

Notifications You must be signed in to change notification settings

zaghadon/eml-to-html

 
 

Repository files navigation

eml-to-html

build status pypi badge Black Downloads PyPI - Python Version PyPI - License

Tiny CLI tool that converts .eml email files to .html files.

Installation

pip install eml-to-html

Usage

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!

Example

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

About

This micro module was written by Jeroen Overschie in 2022.

About

Tiny CLI tool that converts .eml email files to .html files

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%