mandrill
Deprecated. Replaced by mailchimp-transactional - A CLI client and Python API library for the Mandrill email as a service platform.
What it is and what it does
Mandrill was a Python SDK for the Mandrill email service, providing both a programmatic API client and command-line tools for sending and managing transactional emails. The package wraps Mandrill's REST API behind a Python interface, allowing developers to authenticate with an API key and call methods like users.ping() or send operations. It depends on requests for HTTP communication and docopt for CLI argument parsing.
The package is now deprecated and officially replaced by mailchimp-transactional. It has received no maintenance since April 2021 and is marked as inactive. While it carries no known security vulnerabilities, its abandonment means no bug fixes, feature updates, or support for API changes will be provided. New projects should use mailchimp-transactional instead; this package should only be considered for legacy systems already locked into Mandrill that cannot migrate.
Use it for:
- Maintaining legacy Python applications that already depend on this SDK and cannot immediately migrate to mailchimp-transactional.
- Testing or reverse-engineering old Mandrill integrations to understand how they were built before migration.
- Running deprecated internal tools or scripts that were built around the Mandrill API client interface.
- Development environments where Mandrill service access is still required but migration is deferred.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Mandrill is a deprecated Python API client and CLI tool for sending emails through the Mandrill email service platform, now replaced by mailchimp-transactional.
No. This package is explicitly deprecated and abandoned. Do not install it for new projects—use mailchimp-transactional instead. Only consider it if you are maintaining legacy code that already depends on it and cannot be refactored. Even then, plan a migration path, as the underlying Mandrill service may have changed or been sunset since the SDK's last update in 2021.
Install
mandrill on PyPI
pip
pip install mandrilluv
uv add mandrillpoetry
poetry add mandrillInstalling mandrill
Before you install
Installation is straightforward with only two lightweight runtime dependencies (requests and docopt), but the package has been abandoned since 2021 with no maintenance activity for 1961 days. The project is explicitly deprecated and superseded by mailchimp-transactional.
License in practice
Licensed under Apache-2.0 (permissive), which allows broad use, modification, and distribution with minimal restrictions—but this permissiveness is moot given the package's deprecated status and lack of maintenance.
Quickstart
pip install mandrill
import mandrill
m = mandrill.Mandrill('YOUR_API_KEY')
print(m.users.ping())
Mandrill service credentials (API key) required; package is deprecated and no longer actively supported by Mailchimp.
Verify before relying
- Whether Mandrill email service itself remains operational or has been fully sunset by Mailchimp.
- Compatibility of this SDK with current Mandrill API endpoints and authentication methods.
- Whether existing Mandrill accounts can still authenticate or if migration to mailchimp-transactional is mandatory.
Package facts
| License | Apache-2.0 (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — requests, docopt |
| Maintenance | abandoned — 1,961 days since the last release |
| First released | |
| Downloads | 95,574/month — #13,263 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: mandrill-1.0.60-py2-none-any.whl
Keywords: mandrill, email, api
Tags
More Email packages
aiosmtplib is an asynchronous SMTP client that…
permissive · top 5,000 on PyPI
Wikipedia-APIWikipedia-API is a Python wrapper for…
permissive · top 5,000 on PyPI
python-oxmsgParses Outlook MSG files to extract email…
permissive · top 5,000 on PyPI
django-anymailSends and receives email in Django through…
permissive · top 5,000 on PyPI
IMAPClientIMAPClient provides a Pythonic interface to…
permissive · top 5,000 on PyPI
mailjet-restA Python wrapper for the Mailjet Email API that…
permissive · top 5,000 on PyPI
mailchimp-transactionalA Python client library for the Mailchimp…
unclear · top 15,000 on PyPI
mailchimp3A Python client for MailChimp API v3 that wraps…
permissive · top 15,000 on PyPI
sib-api-v3-sdkPython SDK for the SendinBlue REST API,…
unclear · top 15,000 on PyPI
mailtrapOfficial Python client for Mailtrap's email…
permissive · top 15,000 on PyPI
resendResend Python SDK provides a client library for…
permissive · top 5,000 on PyPI
notifications-python-clientA Python client library for sending emails,…
permissive · top 15,000 on PyPI
klaviyoA deprecated client library for integrating…
permissive · top 15,000 on PyPI
customerioPython client library for the Customer.io API,…
permissive · top 5,000 on PyPI