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!

A django EmailBackend for debugging that saves Emails in the database instead of delivering them.

Project Description

django-database-email-backend is a simple email backend for django that delivers emails to the database. All sent emails can be reviewed and searched in admin. This can be practical while developing where the console backend can’t be used (e.g on a development or staging server).


Currently only the plaintext part of the email and the attachments are saved accessable. Future versions of django-database-email-backend will also display alternative content, especially html.


pip install django-database-email-backend

Add database_email_backend to INSTALLED_APPS and run syncdb or migrate django_database_email_backend if you are using South.

Add the email backend setting:

EMAIL_BACKEND = 'database_email_backend.backend.DatabaseEmailBackend'

Release History

This version
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
(6.4 kB) Copy SHA256 Hash SHA256
Source None Apr 1, 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