
About Mailpit
Mailpit is a small, open source email testing tool. It acts as a local SMTP server, catches the messages your application sends, and shows them in a web inbox.
What it does
Point your application at Mailpit during development and every outgoing email is captured instead of delivered. You can open each message in the web interface, check how the HTML looks in common clients, and test links and images. A REST API lets automated tests read the captured messages and assert on their content.
Key features
- Catch test emails with a local SMTP server
- Web inbox with live updates for new messages
- HTML compatibility and link checks
- Spam scoring with SpamAssassin or Rspamd
- REST API for automated integration tests
Who it's for
Developers and QA teams who need to confirm that sign-up, password reset and notification emails look right before release. It is also useful for backend teams writing tests that depend on email content.
Pricing and good to know
Mailpit is free and open source under the MIT license. It ships as a single static binary or a Docker image, so it has few dependencies. Captured messages are kept by the tool, so it is meant for testing rather than for receiving real mail from the internet.
Highlights
- Capture outgoing email with a local SMTP server
- Read and check messages in a web inbox
- Check HTML and links in test messages
- Test message spam scores
- Read captured messages through a REST API












