FREEDOM251

Freedom251 › Email Testing Software

Mailpit

Free plan APILinuxMacSelf-hostedWebWindows

Visit Mailpit Alternatives Pricing

Mailpit's own site

What Mailpit is

Mailpit is a free, open-source utility for developers testing email content and SMTP delivery without sending messages to real email addresses. It runs a local SMTP server alongside a web interface and an API for integration testing. The interface can display formatted HTML, source, text, headers, raw messages, and MIME attachments with image thumbnails. Checks include HTML compatibility, links, optional SpamAssassin scoring, and message screenshots. Messages can be tagged, relayed, forwarded automatically, or used to trigger configurable SMTP errors. Its REST API supports accessing, searching, deleting, sending, tagging, and releasing messages; webhooks can send message summaries to external services. Mailpit runs as a single binary or Docker image, with static binaries for Windows, Linux, and Mac. The web interface and API can use HTTPS and basic authentication, while SMTP can be configured with authentication and TLS. By default, SMTP has neither encryption nor authentication, and retention keeps the latest 500 messages.

Who it suits

Mailpit suits developers who need to inspect and test email behavior locally, including in CI/CD pipelines. Its API, webhooks, and configurable SMTP errors also suit integration and resilience testing.

What it does well

  • Inspects HTML, source, headers, and MIME attachments.
  • Includes HTML compatibility and link checks.
  • REST API supports integration testing and message management.
  • Can trigger configurable SMTP errors.
  • Static binaries and Docker images are available.

What to know first

  • Default SMTP has no encryption or authentication.
  • Default retention keeps only the latest 500 messages.
  • Optional POP3 exposes only the latest 100 messages.
  • The UI permits tracking images.

Limits

Mailpit retains the most recent 500 messages by default. Its default SMTP configuration allows up to 100 recipients per message; optional POP3 exposes only the latest 100 messages.

Plans

PlanBilled and limitsPrice
MailpitSingle static binary or multi-architecture Docker images · Default retention: most recent 500 emailsFree

As mailpit.axllent.org lists them, read 4 Oct 2026. The maker's own page has the final word.

Getting started

  1. Download a static binary for Windows, Linux, or Mac, or use a Docker image.
  2. Run Mailpit as a single binary or Docker image.
  3. Configure your application to send test email to Mailpit's SMTP server.
  4. Open the web interface to inspect messages and run email checks.
  5. Use the REST API, webhooks, or Cypress package for integration testing.

Mailpit is a free, open-source email testing utility built around a local SMTP server, a web interface, and an integration-testing API. It is best suited to developers who need to inspect and exercise email flows in development or CI/CD without using real recipients. Its testing toolkit is broad; its default retention and unsecured SMTP setup need attention.

Overview

Mailpit captures application email locally so developers can inspect messages and test delivery behavior before messages reach real inboxes. It runs as a single binary or a multi-architecture Docker image without additional dependencies, making it practical to add to a workstation or CI/CD pipeline. It is a development and testing tool, not a production email delivery service.

By default, SMTP listens on port 1025 without encryption or authentication. That is convenient for a local setup, but should not be treated as a safe network-facing configuration. The web UI and API can use HTTPS and basic authentication, while SMTP can be configured for authentication and TLS.

Key features

Inspect messages and catch email defects

The web interface displays formatted HTML, highlighted HTML source, text, headers, raw source, and MIME attachments with image thumbnails. This makes it useful for tracing both rendering issues and problems in the message itself. HTML Check compares messages against more than 175 HTML and CSS checks based on compatibility data from caniemail.com. Link checks, HTML screenshots, and optional SpamAssassin-based spam checks add further ways to assess a message before release.

Test delivery behavior and automate workflows

Mailpit can tag messages, relay them through another SMTP server, forward them automatically, or trigger configurable SMTP errors with its Chaos feature. That error simulation is particularly useful for checking how an application handles failed delivery rather than only verifying the happy path.

The REST API supports accessing, searching, deleting, sending, tagging, and releasing messages, which makes Mailpit suitable for integration tests. It can also send message-summary webhooks to external services; it has been tested with n8n and offers a Cypress package for integration tests.

Consider safety and capacity

The UI applies a strict Content-Security-Policy and a no-referrer policy, though tracking images remain allowed. Link checking blocks requests to internal networks by default to help prevent server-side request forgery. Mailpit reports SMTP ingestion of 100–200 emails per second depending on system and message factors, but its defaults are oriented toward development: it retains the most recent 500 messages, allows up to 100 recipients per message, and optional POP3 exposes only the latest 100 messages.

Pricing

Mailpit is free and open source. Its Mailpit plan costs nothing and includes a single static binary or multi-architecture Docker images, with default retention of the most recent 500 emails. There is no free trial because the product is free. This is a strong fit for developers who want self-hosted email testing without a subscription; the trade-off is that the default message retention is finite, and POP3 access is limited to the latest 100 messages.

Platforms

Mailpit supports API, Linux, macOS, self-hosted, web, and Windows use. Static binaries are available for Windows, Linux, and Mac, while Docker images cover 386, amd64, and arm64. This range gives teams a choice between installing a binary and running a container across common development environments.

Who it's for

Mailpit is a good choice for developers who need a local SMTP destination, message inspection, and automated checks in development or CI/CD. Teams that need to test failure handling benefit from its configurable SMTP errors, while those debugging templates can use its HTML and link checks. It is less suitable when the need is production email delivery or a default SMTP configuration that is already secured for network exposure.

Pros and cons

  • Pros: A single free package combines local SMTP capture, detailed message inspection, HTML and link checks, screenshots, and optional spam scoring.
  • Pros: The REST API, webhooks, and Cypress package support automated integration workflows, while configurable SMTP errors help test resilience.
  • Pros: Binary and Docker deployment options, plus Windows, Linux, and Mac support, make it adaptable to different development setups.
  • Cons: Default SMTP has no encryption or authentication, so users need to configure security before exposing it beyond a trusted local environment.
  • Cons: The default 500-message retention and 100-message POP3 window constrain longer-running or POP3-based workflows.

Alternatives

Compare email testing software if you want to consider a wider set of tools. MailHog is another free, open-source email testing tool for API, Linux, macOS, self-hosted, and web use. Choose MailSlurp if its free plan's monthly allowances—500 received emails, 1,000 sandbox sends, one device render, and one inbox placement test—match your needs. Mailtrap Email Sandbox offers a free plan capped at 50 test emails per month, one user, and one sandbox, so it may suit a small, quota-based sandbox workflow. Emailens has a free plan with 30 simulated previews per day and 21 email clients, making it an option when simulated previews are the priority. GlockApps offers a free plan with two spam test credits and DMARC and uptime-monitoring allowances, which may suit readers focused on those checks. SMTP Labs includes SMTP, IMAP, POP3, and API on its free plan, along with one domain, 50 accounts, and seven-day message retention. Unspam.email offers a no-account free plan with three spam tests, two inbox placements, one device preview, and 24-hour data retention. Twilio Segment is a freemium web, iOS, and Android platform with a free plan that includes visitor, Reverse ETL, source, and integration allowances.

Verdict

Choose Mailpit if you want a free, self-hosted way to capture, inspect, and automate email tests across development and CI/CD. Its most compelling advantage is the combination of deep message inspection and test controls in a lightweight deployment. Look elsewhere for production delivery, or configure security and retention deliberately if your setup reaches beyond local development.

Verdict

Mailpit combines local SMTP delivery, message inspection, and automated testing tools in a free package. Configure SMTP security as needed and account for its default message retention and POP3 limits.

Questions

Does Mailpit cost anything?

Mailpit is free and open source. Its listed plan costs nothing.

Which systems can run Mailpit?

It provides static binaries for Windows, Linux, and Mac, as well as Docker images for 386, amd64, and arm64. It can also be self-hosted.

Does Mailpit have an API?

Yes. Its REST API can access, search, delete, send, tag, and release messages.

Can Mailpit check email rendering and links?

Yes. It offers HTML compatibility checks, link checks, HTML message screenshots, and optional SpamAssassin-based spam checks.

Is SMTP encrypted by default?

No. By default, SMTP listens on port 1025 without encryption or authentication. SMTP can be configured with authentication and TLS.

Who develops Mailpit?

Mailpit is an open-source project first released on July 30, 2022.

Facts from Mailpit's own pages

Automated testing
Mailpit offers a REST API for integration testing and a Chaos feature that can trigger configurable SMTP errors. · mailpit.axllent.org, 4 Oct 2026
Automation
Mailpit provides a REST API for accessing, searching, deleting, sending, tagging, and releasing messages. · mailpit.axllent.org, 4 Oct 2026
Capacity and retention
Mailpit reports SMTP ingestion of 100–200 emails per second depending on system and message factors, and by default prunes messages to keep the most recent 500. · mailpit.axllent.org, 4 Oct 2026
Default SMTP configuration
By default, SMTP listens on port 1025 without encryption or authentication. · mailpit.axllent.org, 4 Oct 2026
Deployment
Mailpit runs as a single binary or multi-architecture Docker image, and publishes static binaries for Windows, Linux, and Mac. · mailpit.axllent.org, 4 Oct 2026
Developer features
The web UI can show formatted HTML, HTML source, text, headers, raw source, and MIME attachments, including image thumbnails. · mailpit.axllent.org, 4 Oct 2026
Email checks
Mailpit offers HTML email compatibility checks, link checks, SpamAssassin-based spam checks, and HTML message screenshots. · mailpit.axllent.org, 4 Oct 2026
Email rendering security
The UI applies a strict Content-Security-Policy that blocks remote content other than images, stylesheets, and fonts, and sets a no-referrer policy. · mailpit.axllent.org, 4 Oct 2026
Founded
2022 · mailpit.axllent.org, 28 Sept 2026
HTML checks
HTML Check compares messages against more than 175 HTML and CSS checks based on compatibility data from caniemail.com. · mailpit.axllent.org, 4 Oct 2026
Install format
Mailpit runs as a single binary or multi-architecture Docker image without additional dependencies. · mailpit.axllent.org, 4 Oct 2026
Integrations
Mailpit can send message-summary webhooks to external services, has been tested with n8n, and has a Cypress package for integration tests. · mailpit.axllent.org, 4 Oct 2026
Intended audience
Mailpit is described as a development SMTP and email testing tool for developers, including use in CI/CD pipelines. · mailpit.axllent.org, 4 Oct 2026
Intended users
Mailpit is aimed at developers testing email functionality without sending messages to real email addresses. · mailpit.axllent.org, 4 Oct 2026
Message handling
Messages can be tagged, relayed through another SMTP server, automatically forwarded, or used to trigger configurable SMTP errors for resilience testing. · mailpit.axllent.org, 4 Oct 2026
Message inspection
The web UI can display formatted HTML, highlighted HTML source, text, headers, raw source, and MIME attachments with image thumbnails. · mailpit.axllent.org, 4 Oct 2026
Network safety
Link checking blocks requests to internal networks by default to help prevent server-side request forgery. · mailpit.axllent.org, 4 Oct 2026
Notable limits
Mailpit keeps the most recent 500 emails by default, and its SMTP server allows up to 100 recipients per message by default. · mailpit.axllent.org, 4 Oct 2026
Other testing tools
Features include link checking, HTML message screenshots from the web UI, and optional spam scoring through SpamAssassin. · mailpit.axllent.org, 4 Oct 2026
Platform support
The installation guide provides static binaries for Windows, Linux, and Mac, plus Docker images for 386, amd64, and arm64. · mailpit.axllent.org, 4 Oct 2026
POP3 limit
The optional POP3 service makes only the latest 100 messages available for performance reasons. · mailpit.axllent.org, 4 Oct 2026
Privacy protections
The UI uses a strict Content-Security-Policy and a no-referrer policy; tracking images are still allowed. · mailpit.axllent.org, 4 Oct 2026
Project history
Mailpit was first released on July 30, 2022. · mailpit.axllent.org, 4 Oct 2026
Purpose
Mailpit is an open-source utility for testing emails and SMTP delivery, with a local SMTP server, web interface, and integration-testing API. · mailpit.axllent.org, 4 Oct 2026

Where Mailpit stands on Freedom251

Look at these too