Metadata-Version: 2.1
Name: eml-to-html
Version: 0.0.2
Summary: Converts `.eml` files to HTML.
Home-page: https://github.com/dunnkers/eml-to-html
Author: Jeroen Overschie
Author-email: jeroen@darius.nl
Maintainer: Jeroen Overschie
Maintainer-email: jeroen@darius.nl
License: MIT
Project-URL: Github, https://github.com/dunnkers/eml-to-html
Project-URL: Bug Tracker, https://github.com/dunnkers/eml-to-html/issues
Project-URL: Documentation, https://dunnkers.com/eml-to-html
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: MacOS
Classifier: Operating System :: Microsoft :: Windows
Classifier: Typing :: Typed
Classifier: Topic :: Software Development
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >= 3.7
Description-Content-Type: text/markdown
License-File: LICENSE

# eml-to-html
[![build status](https://github.com/dunnkers/eml-to-html/actions/workflows/python-app.yml/badge.svg)](https://github.com/dunnkers/eml-to-html/actions/workflows/python-app.yml) [![pypi badge](https://img.shields.io/pypi/v/eml-to-html.svg?maxAge=3600)](https://pypi.org/project/eml-to-html/) [![Black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) [![Downloads](https://pepy.tech/badge/eml-to-html/month)](https://pepy.tech/project/eml-to-html) ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/eml-to-html) [![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/dunnkers/eml-to-html.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/dunnkers/eml-to-html/context:python) ![PyPI - License](https://img.shields.io/pypi/l/hydra-core)

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.

