selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

Self-hosted alternatives to Mailgun

Teams moving off Mailgun often want to keep sending transactional email from infrastructure they control. More about Mailgun

--sort
9 projects· by score

Projects

About these Mailgun alternatives

The projects below are open-source email platforms meant to fill that role. Postal describes itself as a fully featured open source mail delivery platform for incoming and outgoing e-mail, and is released under the MIT licence. plunk calls itself the open-source email platform and is licensed under AGPL-3.0. hyvor-relay offers an open-source email API for developers that can be run cloud or self-hosted, positioned as an alternative to SES, Mailgun and SendGrid. Each project lists its own licence, so check it against how you plan to use the software.

9 open-source, self-hosted alternatives to Mailgun are listed here, ranked by popularity, maintenance and documentation.

Highest rated
Postal (16 956 GitHub stars, MIT license, written in Ruby), followed by plunk and usesend
Docker
8 of the top 9 ship an official Docker image
Recently updated
MillionSend v0.30.1 on 2026-11-13

Mailgun alternatives compared

ProjectLicenseLanguageStarsDockerSetupLatest releaseScore
PostalMITRuby16 956YesAdvanced3.3.773
plunkAGPL-3.0Typescript5 605YesModeratev0.18.068
usesendAGPL-3.0Typescript4 804YesModeratev1.10.362
DovelApache-2.0——YesModerate—57
hyvor-relayAGPL-3.0PHP923YesAdvanced0.0.4854
MillionSendAGPL-3.0Typescript272YesAdvancedv0.30.149
CuttlefishAGPL-3.0Ruby1 627—Advanced49
ReloopApache-2.0Typescript195YesAdvancedv0.9.047
jolimailOtherTypescript135YesModerate0.3.133