https://github.com/dunnkers/eml-to-html
Tiny CLI tool that converts .eml email files to .html files
https://github.com/dunnkers/eml-to-html
email eml eml-to-html python3
Last synced: 12 months ago
JSON representation
Tiny CLI tool that converts .eml email files to .html files
- Host: GitHub
- URL: https://github.com/dunnkers/eml-to-html
- Owner: dunnkers
- License: mit
- Created: 2022-08-02T14:51:32.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2024-05-02T21:57:57.000Z (about 2 years ago)
- Last Synced: 2025-06-15T09:52:26.282Z (about 1 year ago)
- Topics: email, eml, eml-to-html, python3
- Language: Python
- Homepage:
- Size: 29.3 KB
- Stars: 26
- Watchers: 2
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# eml-to-html
[](https://github.com/dunnkers/eml-to-html/actions/workflows/python-app.yml) [](https://pypi.org/project/eml-to-html/) [](https://github.com/psf/black) [](https://pepy.tech/project/eml-to-html)  
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`](https://github.com/dunnkers/eml-to-html/tree/master/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](https://jeroenoverschie.nl/) in 2022.