# Red Mail > Next generation email sender --- [](https://pypi.org/project/redmail/) [](https://github.com/Miksus/red-mail/actions/workflows/main.yml) [](https://codecov.io/gh/Miksus/red-mail) [](https://red-engine.readthedocs.io/en/latest/?badge=latest) [](https://pypi.org/project/redmail/) ## What is it? Red Mail is an advanced email sender library. It makes sending emails trivial and has a lot of advanced features such as: - Attachments - Templating (via Jinja) - Prettified tables - Embedded images ## Why Red Mail? Sending emails should not be this complicated: ```python import smtplib from email.mime.multipart import MIMEMultipart from email.mime.text import MIMEText msg = MIMEMultipart('alternative') msg['Subject'] = f'The contents of {textfile}' msg['From'] = 'first.last@gmail.com' msg['To'] = 'first.last@example.com' part1 = MIMEText("Hello!", 'plain') part2 = MIMEText("
Have you seen this thing
{{ awesome_image }}Or this:
{{ pretty_table }}Kind regards, {{ sender.full_name }}
""", body_params={'friend': 'Jack'}, body_images={'awesome_image': 'path/to/image.png'}, body_tables={'pretty_table': pd.DataFrame(...)}, attachments={ 'some_data.csv': pd.DataFrame(...), 'file_content.html': '