The main open-source alternatives to Resend, Mailgun and SendGrid are Postal, Plunk and listmonk. Plunk is the closest to Resend: an email platform with an API that you self-host and point at your own Amazon SES account. Postal is a complete mail server for sending and receiving that you run on your own IPs. listmonk is a newsletter manager, useful for lists but not a general app email API. All three repositories were active and not archived when we checked on 16 November 2026.
Before choosing, be honest about the hard part. The code is free. Getting mail into inboxes from your own infrastructure is not.
Why people look for an open-source email API
- Control. You own the code, the data and the logs.
- No account suspensions by a vendor. You still answer to the mailbox providers, but nobody can switch your account off.
- Cost at scale. Plunk on SES pays SES rates, $0.10 per 1,000 on the a la carte rate.
- Licensing or policy. Some teams must self-host.
What self-hosting actually involves
- Port 25. Server-to-server mail uses SMTP on port 25 (RFC 5321). Postal’s docs say your provider must allow outbound port 25, and many block it.
- IP reputation. Postal’s docs warn that a new server’s IP may already be on blocklists, so you may have to try several providers. Then you warm the IP up slowly. See email warm-up.
- DNS. SPF, DKIM, DMARC and a reverse DNS record for every sending IP. See reverse DNS for email.
- Bounces and complaints. You process them and suppress bad addresses yourself, or your reputation drops.
- Operations. Upgrades, backups, monitoring and on-call.
Plunk avoids the first two by sending through SES. Postal does not.
1. Postal
What it is: in its own words, “a fully featured open source mail delivery platform for incoming & outgoing e-mail”. MIT licence, about 17,000 GitHub stars, latest release 3.4.0 in November 2026. See the repository.
Who it suits: teams that want to run their own mail server and IPs, replacing Mailgun or SendGrid end to end.
What it needs: per the prerequisites, a dedicated server (at least 4 GB RAM, 2 CPU cores, 25 GB disk), Docker with Compose, git, curl and jq, MariaDB 10.6 or later (MySQL is not supported) and outbound port 25.
Pricing: free software. You pay for the server, its IPs and the time to run it.
Pros: sends and receives; HTTP API with JSON and an X-Server-API-Key header, plus SMTP; permissive licence; full control of IPs.
Cons: you own deliverability, including IP reputation and blocklists; not Resend-compatible, so send calls need rewriting.
2. Plunk (self-hosted)
What it is: “The Open-Source Email Platform”, AGPL-3.0, about 5,600 GitHub stars, v0.18.0 released 1 November 2026. See the repository.
Who it suits: developers who want a Resend-style product they can run themselves.
What it needs: per the self-hosting docs, Docker and Docker Compose, AWS SES for sending, and a domain with subdomains for the dashboard and API.
Pricing: free software, plus your server and SES sending fees.
Pros: transactional and marketing email, inbound by webhook, unlimited contacts; SES handles IP reputation; a hosted version exists if you change your mind ($0.001 per email after 1,000 free).
Cons: you still need SES production access, which AWS reviews; AGPL obligations if you modify and offer it as a service; SDKs and retention not published.
3. listmonk
What it is: a “high performance, self-hosted, newsletter and mailing list manager with a modern dashboard”, a single binary with Postgres as its only dependency. AGPL-3.0, about 24,300 GitHub stars; most recent release v7.0.0-beta.2 on 10 November 2026. See the repository.
Who it suits: teams that want self-hosted newsletters.
What it needs: Postgres, and SMTP servers to send through; its configuration docs describe an SMTP connection pool.
Pricing: free software, plus your server and whatever your SMTP provider charges.
Pros: strong list and campaign tooling; a transactional endpoint, POST /api/tx.
Cons: every transactional message needs a preconfigured template; it is not a mail server, so you still need a sending provider.
4. Amazon SES as the sending layer
Plunk self-hosted and listmonk both need somewhere to send from. SES is the usual choice at $0.10 per 1,000. You get AWS’s IPs and reputation, and you request production access out of the sandbox.
5. A managed option, for comparison
Mailcandor is not open source. It is listed because many people searching for an open-source Resend alternative just want to leave Resend. It accepts Resend-shaped requests at /v1/emails, so you change RESEND_BASE_URL and your key (see the Resend switch guide). Free for 3,000 emails a month, then $0.50 per 1,000. Limits: shared Amazon SES IPs only, US only, access by request, and a newer, smaller company.
MIT vs AGPL: what the licences mean
Postal uses the MIT licence: you can use, modify and ship it, including inside a commercial product, as long as you keep the copyright notice. Plunk and listmonk use the GNU AGPL v3: you can use and modify them freely, but if you modify the code and let people interact with it over a network, you must offer them your modified source. Running an unmodified copy for your own app’s email is the common case. If you plan to build a product on top of either, read the licence properly.
What 100,000 emails a month costs
- Plunk self-hosted: about $10 in SES fees on the a la carte rate, plus your server.
- Postal: no per-email fee; you pay for the server and IPs.
- Plunk hosted: $100.
- Mailcandor: $39 on the Team plan.
- Resend: $35 on Pro.
Self-hosting wins on the invoice. Whether it wins overall depends on what an hour of your team’s time costs.
How to choose
Want Resend’s model on your own servers: Plunk on SES. Want to own IPs and receive mail too: Postal. Want newsletters: listmonk. Want to leave Resend with no ops: a managed provider from our Resend alternatives list.