Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Small wrapper for marrow.mailer to use Jinja2 templates and automatically send html and plain text emails.

Project Description

Marrja Mail

Marrja mail is a small module that brings together Jinja2 and marrow.mailer to
easily send emails rendered from templates. You supply a template name with
no extension and it will try it with .txt and .htm from the 'email_templates' directory inside your package
(this is customisable) and attach the ones that are found.

Basic usage:
#Once per applicaton
from marrja_mail import MarrjaMailer

email_sender = MarrjaMailer(__name__, server='', username='',
password='mypass', default_sender='')

#Then to send email
email_sender.send('', 'template_file', 'subject line' , var_for=jinja_template)


- Add support for testing that dumps out the rendered template to a dir
- Expose more configuration options for marrow.mailer
- Write better docs

More info @

Release History

This version
History Node


History Node


History Node


History Node


History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(2.4 kB) Copy SHA256 Hash SHA256
Source None Mar 26, 2012

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers