semvec/pypi-packages huggingface dataset:
py-html-email 0.0.2
SMTP emailer to send HTML formated emails
Requires Python: >=3.8

# HTML Mailer

This library simplifies sending HTML formated emails. 
Currently there is one HTML format. Planning for future releases to customize format.

To use, simply pip install.

Example:
```python
import os
from py_html_email import Emailer

emailer = Emailer(sender_email='example@microsoft.com',
                  sender_password=os.getenv('email_password'),
                  smtp_server='office',
                  )
emailer.send_email(to='to@address.com',
                   subject='Email Sent with HTML Mailer',
                   msg_header='Alert!!',
                   msg_title='There was an issue',
                   msg_body='Details on the issue are related to process x',
                   attachment_path="path/to/file"
                   )
```

Planned improvements:
1. Parse html_generic programmatically to remove kwargs that do not get satisfied.
2. Create ability for user create custom formatted HTML
3. Ability to add more than 1 attachment