Skip to main content
Join the official Python Developers Survey 2018 and win valuable prizes: Start the survey!

Django utilities to help track emails sent using Postmark

Project description

# Django Postmark Utils

Django utilities to help track emails sent using Postmark.

## Features

- Store emails (including failed attempts) sent from within your project
- Receive and store webhook notifications, for email bounces and deliveries
- Track sent emails for errors, bounces, and deliveries
- Resend emails

## Prerequisites

- [Django](
- [Postmark]( account

## Installation

$ pip install git+

Django Postmark Utils makes use of the Django email backend provided by [Postmarker](, so first configure it in your project's settings, as per the [documentation](

EMAIL_BACKEND = 'postmarker.django.EmailBackend'
'TEST_MODE': False,

Add the app to your project's `INSTALLED_APPS` setting:


Create the required database tables:

$ python migrate django_postmark_utils

To receive [bounce]( and [delivery]( [webhook notifications]( from Postmark, configure the webhook URLs in your project's URL configuration:

urlpatterns = [
url(r'^postmark/', include('django_postmark_utils.urls')),

In your project's settings, configure a secret to be added to the webhook URLs:


Add the webhook URLs to your Postmark account:

`<YOUR WEBHOOK URLS SECRET>/bounce-receiver/`
`<YOUR WEBHOOK URLS SECRET>/delivery-receiver/`

Optionally change the default email header field name (`X-DjangoPostmarkUtils-Resend-For`) used to match resent emails to the messages they are for, in your project's settings:


## Usage

Emails (including failed attempts) sent via the Postmarker email backend will be stored in the database, and can be viewed in the admin.

In the email change page, clicking on the `Go to resend list` link next to the `Resend` field will send you to a list from where you can use the `Resend emails` admin action to resend the email.

Project details

Release history Release notifications

This version
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
django_postmark_utils-0.1-py3-none-any.whl (17.4 kB) Copy SHA256 hash SHA256 Wheel py3 Feb 9, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page