Comparison
mailgun vs mailgun2 vs mailtrap
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Python SDK for Mailgun
Actively maintained. Last release 6 weeks ago, commits in 12 of the last 26 weeks. A safe choice.
$
pip install mailgunA python client for Mailgun API v2
Archived. The repository is read-only: no more fixes or releases will come.
$
pip install mailgun2Official mailtrap.io API client
Actively maintained. Last release 3 weeks ago, commits in 16 of the last 26 weeks. A safe choice.
$
pip install mailtrapIn short
- mailgun2 is archived: avoid it for new projects.
- mailgun is the most used: 226.5K downloads a month, 2.1× more than mailtrap.
- Maintenance is comparable: mailtrap 94, mailgun 88 on Pythie’s Index.
- Safe default for a new project: mailgun.
Side by side
| Metric | mailgun | mailgun2 | mailtrap |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 88 | Pythie’s Index: 2 | Pythie’s Index: 94 |
| Verdict | Actively maintained | Archived | Actively maintained |
| Downloads / month | 226.5K | 67.9K | 109.2K |
| Downloads, month over month | -24% | -33% | -40% |
| GitHub stars | 9 | 4 | 50 |
| Stars, last 7 days | – | – | – |
| Direct dependents | 1 | 0 | 2 |
| Last release | Oct 21, 2026 | Mar 18, 2022 | Nov 13, 2026 |
| Releases, 12 months | 16 | 0 | 12 |
| Weeks with commits | 12 / 26 | 0 / 26 | 16 / 26 |
| Recent contributors | 2 | 3 | 7 |
| First release | Apr 2011 | Jul 2013 | Oct 2020 |
| Python versions | 3.11 – 3.14 | 3.7 – 3.10 | 3.10 – 3.13 |
| License | Apache-2.0 | Apache-2.0 | MIT |
| Known vulnerabilities | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.