Skip to main content

Send emails in bulk with a CSV listing and a email template.

Project description


Send personalized emails to a list of people.

The listing is defined in a CSV file like this one:


You can then use the fields defined in the listing in a Mako template:

    ${greeting} ${firstname},

    Here is a message.

To send the emails, use the bulk-mail-sender command.

bulk-mail-sender template.html listing.csv \
    --subject 'A message for you ${firstname}' \
    --sender-name 'Clément Martinez'

You can use the --dry-run and --verbose option to preview the messages before sending them.

bulk-mail-sender --help for usage.


The SMTP settings should be present in these environment variables:



You can install this tool with pip:

pip install bulk-mail-sender

Project details

Download files

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

Source Distribution

bulk-mail-sender-0.1.1.tar.gz (3.4 kB view hashes)

Uploaded Source

Built Distribution

bulk_mail_sender-0.1.1-py3-none-any.whl (4.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page