Console

Devtool Review

— Each week, console reviews the best tools for developers. Subscribe

Let your site visitors know you’ve been featured.
Get your badge

mailpit

mailpit

github.com

Email and SMTP testing.

Testing frameworks
Our review

What we like

Acts as a mail server (SMTP or API) for testing emails from your code. Static binary so can easily be run in CI/CD. API allows querying of received emails so you can check they were correctly “sent”. Can persist mail to a SQLite database. Has a web UI to inspect mail e.g. for local development.

What we don't like

Designed for integration testing rather than as a library for unit testing or mocking - which is probably what you want for email tests, but means you need to configure it as a service. Includes Docker images to support this.

Reviewed: 2023-07-27

About Console

Console is the place developers go to find the best tools. Each week, our weekly newsletter picks out the most interesting tools and new releases. We keep track of everything - dev tools, devops, cloud, and APIs - so you don't have to.