django-ses
A Django email backend for Amazon's Simple Email Service (SES)
Decision gist · record as of 2026-08-14
Yes, if you are already on AWS or plan to be. Django-SES is actively maintained, has no known vulnerabilities, installs with low friction, and is MIT-licensed. It is a true drop-in replacement for Django's mail backend—no code changes required—and adds real value through bounce/complaint tracking and SES-specific features like rate limiting and DKIM signing. Skip it only if you need SMTP compatibility or are not using AWS.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires AWS credentials (access key and secret key, or IAM role) and an AWS account with SES enabled in your target region.
- Low friction install with a pure-Python wheel and four runtime dependencies (boto3, django, backports-zoneinfo, importlib-metadata).
- Actively maintained as of 2026-05-19 with 1087 repository stars and a release within the past 175 days.
License · maintenance · safety
MIT (permissive) — MIT license (permissive) places no restrictions on commercial or private use, modification, or redistribution—standard terms for open-source Python libraries.
last release 2026-02-20 (175 days) · last repo commit 2026-05-19 · 1,087 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,689,153 downloads/mo, #3,649 on PyPI
Alternatives
Verify before relying
pip install django-ses
# In settings.py:
EMAIL_BACKEND = 'django_ses.SESBackend'
AWS_ACCESS_KEY_ID = 'YOUR-ACCESS-KEY-ID'
AWS_SECRET_ACCESS_KEY = 'YOUR-SECRET-ACCESS-KEY'
AWS_SES_REGION_NAME = 'us-west-2'
# Then use Django's standard mail API:
from django.core.mail import send_mail
send_mail('Subject', 'Message', 'from@example.com', ['to@example.com'])- Whether the built-in blacklist for bounces and complaints integrates with external email validation services or only maintains an internal list.
- Performance characteristics when handling high-volume email sending (the description mentions high-volume support but does not quantify throughput).
- Whether the SESv2 client and global endpoint features are production-ready or still experimental.
What it is and what it does
Django-SES is a drop-in replacement for Django's default email backend that sends mail through Amazon's Simple Email Service instead of SMTP. It depends on boto3 to communicate with AWS and integrates seamlessly with Django's standard mail API—your existing send_mail() calls work unchanged. The package handles SES rate limiting automatically and provides optional SNS webhook integration to track bounce, complaint, delivery, open, and click events in real time.
Beyond basic sending, django-ses offers email receiving capabilities via SES Email receiving, built-in bounce and complaint blacklisting to suppress problematic addresses, and support for SES configuration sets and global endpoints for high-availability deployments. It supports Django 3.2 through 6.0 and Python 3.8 through 3.14, making it compatible with current and near-future Django/Python versions.
Use it for
- Replace SMTP infrastructure with AWS SES to eliminate mail server maintenance and leverage free inbound SES traffic from EC2 instances.
- Track email delivery status and automatically blacklist bouncing or complained-about addresses using SNS webhook events.
- Send high-volume transactional email (password resets, notifications, alerts) with built-in rate limiting to stay within SES quotas.
- Receive and programmatically process inbound emails via SES Email receiving without maintaining POP/IMAP infrastructure.
- Improve email deliverability by using SES's Easy DKIM feature and avoiding manual PTR/reverse DNS configuration.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are already on AWS or plan to be.
Django-SES is actively maintained, has no known vulnerabilities, installs with low friction, and is MIT-licensed. It is a true drop-in replacement for Django's mail backend—no code changes required—and adds real value through bounce/complaint tracking and SES-specific features like rate limiting and DKIM signing. Skip it only if you need SMTP compatibility or are not using AWS.
Install
django-ses on PyPI
Before you install
Low friction install with a pure-Python wheel and four runtime dependencies (boto3, django, backports-zoneinfo, importlib-metadata). Actively maintained as of 2026-05-19 with 1087 repository stars and a release within the past 175 days.
Requires AWS credentials (access key and secret key, or IAM role) and an AWS account with SES enabled in your target region.
License in practice
MIT license (permissive) places no restrictions on commercial or private use, modification, or redistribution—standard terms for open-source Python libraries.
Quickstart
pip install django-ses
# In settings.py:
EMAIL_BACKEND = 'django_ses.SESBackend'
AWS_ACCESS_KEY_ID = 'YOUR-ACCESS-KEY-ID'
AWS_SECRET_ACCESS_KEY = 'YOUR-SECRET-ACCESS-KEY'
AWS_SES_REGION_NAME = 'us-west-2'
# Then use Django's standard mail API:
from django.core.mail import send_mail
send_mail('Subject', 'Message', 'from@example.com', ['to@example.com'])
Verify before relying
- Whether the built-in blacklist for bounces and complaints integrates with external email validation services or only maintains an internal list.
- Performance characteristics when handling high-volume email sending (the description mentions high-volume support but does not quantify throughput).
- Whether the SESv2 client and global endpoint features are production-ready or still experimental.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 4 packagesbackports-zoneinfoboto3djangoimportlib-metadata |
| Maintenance | Actively maintained 175 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,689,153 / month, #3,649 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableFramework :: DjangoFramework :: Django :: 3.2Framework :: Django :: 4.2Framework :: Django :: 5.2Framework :: Django :: 6.0Intended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python Modules |
Evidence: django_ses-4.7.2-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “django email backend amazon ses”
- django-sesA Django email backend that routes outgoing mail through Amazon SES…
- django-anymailSends and receives email in Django through multiple transactional…
- types-aiobotocore-sesProvides type annotations and IDE autocompletion for aiobotocore's…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also django-post_office · django-celery-email · django-anymail · c7n-mailer · aws-cdk.aws-sns-subscriptions · flufl.bounce · prefect-email · django-rest-passwordreset · django-naomi · postmarker