Comparison
mailgun vs mailgun2 vs mailtrap vs sparkpost
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 13 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 mailtrapSparkPost Python API client
Likely abandoned. No release or commit for years (last release over 5 years ago).
$
pip install sparkpostIn short
- mailgun2 is archived: avoid it for new projects.
- sparkpost looks abandoned: avoid it for new projects.
- mailgun is the most used: 223.3K downloads a month.
- Maintenance is comparable: mailtrap 94, mailgun 89 on Pythie’s Index.
- Safe default for a new project: mailgun.
Side by side
| Metric | mailgun | mailgun2 | mailtrap | sparkpost |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 89 | Pythie’s Index: 2 | Pythie’s Index: 94 | Pythie’s Index: 22 |
| Verdict | Actively maintained | Archived | Actively maintained | Likely abandoned |
| Downloads / month | 223.3K | 70.5K | 112.2K | 172.5K |
| Downloads, month over month | -25% | -29% | -38% | +34% |
| GitHub stars | 9 | 4 | 50 | 91 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 1 | 0 | 2 | 3 |
| Last release | Oct 21, 2026 | Mar 18, 2022 | Nov 13, 2026 | Nov 9, 2021 |
| Releases, 12 months | 16 | 0 | 12 | 0 |
| Weeks with commits | 13 / 26 | 0 / 26 | 16 / 26 | 0 / 26 |
| Recent contributors | 2 | 3 | 7 | 25 |
| First release | Apr 2011 | Jul 2013 | Oct 2020 | Feb 2015 |
| Python versions | 3.11 – 3.14 | 3.7 – 3.10 | 3.10 – 3.13 | 3.4 – 3.5 |
| License | Apache-2.0 | Apache-2.0 | MIT | Apache-2.0 |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.