Skip to content

Postal

Self-hosted mail server with SMTP and API delivery for apps and websites

Permissive (OSI) · MIT
  • Self-hosted

Listed by , founder & editor

74

Health

Active

Overview

Stars

16,975

Last commit

3 days ago

Nov 2026

Repository age

9 years

since Apr 2017

Latest version

3.5.0

Nov 2026

Contributors

–

8 active in 90 days

Releases

5

last 12 months

Language

Ruby

Postal is a mail delivery platform written in Ruby that handles both outgoing and incoming email. It is built for websites and web servers that would otherwise use a service such as Mailgun, Postmark or SendGrid, and you run it on your own servers.

It offers SMTP and an HTTP API for sending, runs with Docker, and is MIT licensed. The project dates to 2017, has about 17,000 stars, and is still receiving releases, with 3.5.0 as the latest version.

Postal covers delivery, not marketing. It is a self-hosted equivalent for Mailgun and Resend when you need transactional sending under your control.

Who it's for

Developers sending transactional email from their own apps

You get an SMTP and API delivery server you control, without per-message vendor billing.

Skip if: You do not want to manage IP reputation and mail server upkeep.

Teams replacing Mailgun

It follows the same model of SMTP plus API delivery on your own infrastructure.

Skip if: You need campaign tools, a visual editor or A/B testing.

The problem it solves

Hosted email delivery services charge by volume and hold your sending data. Postal lets you run the same kind of delivery server yourself.

Strengths

  • MIT license
  • Handles both incoming and outgoing mail
  • Docker deployment
  • Established since 2017 with a large community
  • Recent 3.5.0 release

Trade-offs

  • No campaign or newsletter tooling
  • No visual email editor
  • No A/B testing, automation or segmentation
  • You manage deliverability and server upkeep

Postal replaces

Self-host Postal

Self-hostable
Yes
Docker Compose
The repository ships a Compose file

Frequently asked questions

Is Postal free?

Yes. It is open source under the MIT license.

Can I self-host it?

Yes. Self-hosting is its purpose, and it runs with Docker.

What does it replace?

It is a self-hosted equivalent for Mailgun and Resend style delivery services.

Does it send newsletters?

No. It has no campaign or newsletter tooling.

Other Mailgun alternatives

Compare all 4 Mailgun alternatives →

Similar tools in Email software

Billion Mail

Email software

16k 1.8k 5 months ago Dormant AGPL-3.0

cloud-mail

Email software

17k 24k 5 days ago Thriving MIT

mutt

Email software

486 266 4 days ago Active gpl-2.0+

K-9 Mail

Email software

14k 2.9k today Thriving Apache-2.0

mailflare

Email software

7.5k 1.3k 3 days ago Active AGPL-3.0