repoze-sendmail
Couple sending email message with a transaction
Decision gist · record as of 2026-08-14
Yes, if you use Zope transactions and need email atomicity. The package is mature, actively maintained, has no known vulnerabilities, and installs with zero dependencies. It solves a real problem in transactional web applications. Not relevant for projects outside the Zope ecosystem or those not requiring transaction-coupled email.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Zope transaction manager integration in your application; not a standalone email library.
- Low install friction with no runtime dependencies.
- Active maintenance with recent commits; supports current Python versions on both CPython and PyPy.
License · maintenance · safety
LicenseRef-Repoze-BSD-derived (permissive) — Licensed under a permissive Repoze BSD-derived license, allowing use in most commercial and open-source projects without significant restriction.
last release 2026-05-04 (102 days) · last repo commit 2026-05-16 · 11 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 78,505 downloads/mo, #14,439 on PyPI
Alternatives
Verify before relying
pip install repoze-sendmail
from repoze.sendmail import get_mailer
mailer = get_mailer()
mailer.send(message) # sent only on transaction commit- Whether the package works with transaction managers other than Zope's
- Specific retry and queue behavior when transaction commits fail or are rolled back
- Configuration and setup steps beyond basic import and usage
What it is and what it does
repoze.sendmail integrates email sending with the Zope transaction manager, deferring message dispatch until a transaction commits. This prevents users from receiving notifications about incomplete operations—if a transaction rolls back, the associated email is never sent. The package acts as middleware in WSGI applications, intercepting email operations and binding them to transaction lifecycle events.
It's designed for web applications where email notifications must be atomic with database changes. Rather than sending mail immediately and risking orphaned messages if later steps fail, repoze.sendmail queues messages and releases them only when the transaction succeeds. This is particularly useful in long-running request handlers or batch operations where partial failure is possible.
Use it for
- Send confirmation emails only after a user registration transaction commits successfully
- Queue password-reset notifications that are discarded if the reset transaction rolls back
- Defer order-confirmation emails until inventory and payment transactions complete
- Batch email dispatch tied to database transaction boundaries in WSGI applications
- Prevent duplicate or orphaned notifications in systems with nested or retried transactions
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you use Zope transactions and need email atomicity.
The package is mature, actively maintained, has no known vulnerabilities, and installs with zero dependencies. It solves a real problem in transactional web applications. Not relevant for projects outside the Zope ecosystem or those not requiring transaction-coupled email.
Install
repoze-sendmail on PyPI
Before you install
Low install friction with no runtime dependencies. Active maintenance with recent commits; supports current Python versions on both CPython and PyPy.
Requires Zope transaction manager integration in your application; not a standalone email library.
License in practice
Licensed under a permissive Repoze BSD-derived license, allowing use in most commercial and open-source projects without significant restriction.
Quickstart
pip install repoze-sendmail
from repoze.sendmail import get_mailer
mailer = get_mailer()
mailer.send(message) # sent only on transaction commit
Verify before relying
- Whether the package works with transaction managers other than Zope's
- Specific retry and queue behavior when transaction commits fail or are rolled back
- Configuration and setup steps beyond basic import and usage
Package facts
| License | LicenseRef-Repoze-BSD-derived permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 102 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 78,505 / month, #14,439 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 6 - MatureIntended Audience :: DevelopersOperating 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 :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Internet :: WWW/HTTPTopic :: Internet :: WWW/HTTP :: WSGITopic :: Internet :: WWW/HTTP :: WSGI :: Middleware |
Evidence: repoze_sendmail-4.5-py2.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 › “zope transaction email”
- repoze-sendmailCouples email sending with Zope transactions, ensuring messages are…
- zope.sqlalchemyIntegrates SQLAlchemy sessions with Zope's transaction manager,…
- django-templated-emailSends templated emails in Django applications using template…
Give your agent the search over MCP, or paste the wish link into any chat.
More WWW/HTTP packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.
HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.
Install it if you are building new projects or modernizing existing ones that rely on HTTP.
A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.
aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.
Install it if you need async HTTP client or server capabilities in asyncio-based applications.
See also zope.sqlalchemy · django-anymail · repoze-lru · repoze.who · pyramid-tm · mailchimp-transactional · mailman · prefect-email · icechunk · mailtrap