# mailpit

Email and SMTP testing.

Source: [Console review](<https://console.dev/tools/mailpit>)

Website: [https://github.com/axllent/mailpit](<https://github.com/axllent/mailpit>)

Profile updated: 2026-10-16

Category: [Testing frameworks](<https://console.dev/tools/categories/developer-tools-testing-frameworks>)

## Supported tech stack

Research checked: 2026-10-11

### Runs on

- FreeBSD (Operating system)
- Linux (Operating system)
- Windows (Operating system)
- macOS (Operating system)

### Integrates with

- Docker (Integration)

Source: [Research source](<https://github.com/axllent/mailpit>)

Documented compatibility; coverage may be incomplete. Written in describes implementation, not user-project language support.

Email testing service distributes binaries for Windows, Linux and macOS, FreeBSD packages and Docker images.

## Console’s review — 2023-07-27

Reviewed: 2023-07-27

Author: [David Mytton](<https://console.dev/about#david-mytton>)

Citation: [This review](<https://console.dev/tools/mailpit#review_4fd6c822b4aaf56a835fa175891788ea812e5975dde97f82b39d47d642711b19>)

### 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.

### Tradeoffs

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.

This review reflects Console’s assessment at publication on 2023-07-27. Features and limitations may have changed since the review date.

## Is mailpit a fit?

Based on [Console’s review published on 2023-07-27](<https://console.dev/tools/mailpit#review_4fd6c822b4aaf56a835fa175891788ea812e5975dde97f82b39d47d642711b19>).

Summary updated: 2026-10-16

### Who it’s for

Developers doing local development should consider mailpit

### Why consider it

Mailpit allows developers to test emails from their code

### Keep in mind

Mailpit is designed for integration testing rather than unit testing or mocking

[Selection criteria](<https://console.dev/selection-criteria>) · [About Console](<https://console.dev/about>) · [Browse tools](<https://console.dev/tools>)
