$npx skillfedfor your agent

repoze-sendmail

Couple sending email message with a transaction

With conditionsPyPI WWW/HTTPReleased May 202678.5K downloads / moLicenseRef-Repoze-BSD-derivedPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — repoze_sendmail-4.5-py2.py3-none-any.whl
v4.5 · released 2026-05-04 · Python >=3.10

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

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
Same gist for agents: .md · .json

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.

With conditions

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

LicenseLicenseRef-Repoze-BSD-derived permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 102 days since the last release
Last repo commit
First released
Downloads78,505 / month, #14,439 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone 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

Capabilities
transactional email sendingzope transaction emaildeferred email deliverywsgi email middlewarecommit-time email dispatch
Topics
transactional-emailzope-integration
PyPI keywords
webwsgimiddlewareretry

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”

Give your agent the search over MCP, or paste the wish link into any chat.

More WWW/HTTP packages

urllib3 Worth it
PyPI · Libraries · released May 2026

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.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
h11 With conditions
PyPI · WWW/HTTP · released Apr 2025

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.

MITpure Python · 3.8+aging
894.9Mdownloads / mo
httpx Worth it
PyPI · WWW/HTTP · released Dec 2024

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.

BSD-3-Clausepure Python · 3.8+
797.0Mdownloads / mo
httpcore With conditions
PyPI · WWW/HTTP · released Apr 2025

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.

BSD-3-Clausepure Python · 3.8+aging
783.6Mdownloads / mo
aiohttp Worth it
PyPI · WWW/HTTP · released Jul 2026

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.

permissive licensecompiled wheel · 3.10+
643.6Mdownloads / mo

See also zope.sqlalchemy · django-anymail · repoze-lru · repoze.who · pyramid-tm · mailchimp-transactional · mailman · prefect-email · icechunk · mailtrap