django-post_office
A Django app to monitor and send mail asynchronously, complete with template support.
Decision gist · record as of 2026-08-14
Yes. The package is production-stable (Development Status 5), actively maintained, has no known vulnerabilities, and solves a common Django problem—asynchronous email delivery with minimal setup friction. Install it if you need to queue emails, use templates, or avoid blocking requests on mail operations.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Django >= 4.2 and Python >= 3.9.
- Must run database migrations and configure Django settings.
- Low friction install with only two runtime dependencies (django and nh3).
License · maintenance · safety
MIT (permissive) — MIT license permits commercial and private use with minimal restrictions—suitable for most projects.
last release 2026-04-16 (120 days) · last repo commit 2026-07-20 · 1,092 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 130,227 downloads/mo, #11,649 on PyPI
Alternatives
Verify before relying
pip install django-post_office
# Add to INSTALLED_APPS and set EMAIL_BACKEND in settings.py
from django.core.mail import send_mail
# Emails are now queued via the configured backend
# Run the management command to process queued emails
# python manage.py send_queued_mail- Performance characteristics when handling millions of emails—exact throughput or latency benchmarks not specified.
- Whether multiprocessing/threading parallelism is automatic or requires explicit configuration.
- Compatibility with specific task queues beyond the stated 'works well with' claim.
- Exact behavior of render_on_delivery option and space savings in practice.
What it is and what it does
Django Post Office is a Django app that decouples email sending from your request/response cycle by queuing messages to the database and processing them asynchronously. It acts as a custom email backend, intercepting Django's standard mail operations and storing them for later delivery via a management command. This prevents slow email operations from blocking web requests.
The package supports database-backed email templates with Django template syntax, multilingual variants, HTML content with inlined images, attachments, scheduling, and priority levels. It uses nh3 for HTML sanitization in the Django admin interface. Configuration involves adding the app to INSTALLED_APPS, running migrations, and setting EMAIL_BACKEND to the package's backend.
Use it for
- Queue transactional emails (password resets, order confirmations) without blocking the web request.
- Send bulk emails on a schedule using database templates and the management command.
- Manage multilingual email campaigns by creating translated template variants and specifying language at send time.
- Attach files or inline images in HTML emails with full control over MIME types and content.
- Integrate email sending into async task workers for distributed processing of large email volumes.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is production-stable (Development Status 5), actively maintained, has no known vulnerabilities, and solves a common Django problem—asynchronous email delivery with minimal setup friction. Install it if you need to queue emails, use templates, or avoid blocking requests on mail operations.
Install
django-post-office on PyPI
Before you install
Low friction install with only two runtime dependencies (django and nh3). The package is actively maintained with a recent release and no known vulnerabilities.
Requires Django >= 4.2 and Python >= 3.9. Must run database migrations and configure Django settings.
License in practice
MIT license permits commercial and private use with minimal restrictions—suitable for most projects.
Quickstart
pip install django-post_office
# Add to INSTALLED_APPS and set EMAIL_BACKEND in settings.py
from django.core.mail import send_mail
# Emails are now queued via the configured backend
# Run the management command to process queued emails
# python manage.py send_queued_mail
Verify before relying
- Performance characteristics when handling millions of emails—exact throughput or latency benchmarks not specified.
- Whether multiprocessing/threading parallelism is automatic or requires explicit configuration.
- Compatibility with specific task queues beyond the stated 'works well with' claim.
- Exact behavior of render_on_delivery option and space savings in practice.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesnh3django |
| Maintenance | Actively maintained 120 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 130,227 / month, #11,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/StableEnvironment :: Web EnvironmentFramework :: DjangoFramework :: Django :: 4.2Framework :: Django :: 5.0Framework :: Django :: 5.1Framework :: Django :: 5.2Framework :: Django :: 6.0Intended Audience :: DevelopersOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9Topic :: Communications :: EmailTopic :: Internet :: WWW/HTTPTopic :: Software Development :: Libraries :: Python Modules |
Evidence: django_post_office-3.11.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 queue”
- django-post_officeDjango Post Office queues and sends emails asynchronously with…
- django-celery-emailRoutes Django email sending through Celery task queues for…
- c7n-mailerA message relay service that subscribes to SQS queues and delivers…
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-celery-email · django-multi-email-field · django-ses · django-templated-mail · postmarker · fastapi-mail · django-templated-email · yagmail · django-sendgrid-v5 · Flask-Mail