← All tools

Mailpit Gem

A local SMTP server and web inbox for testing the emails your app sends.

What it is

Point your app's SMTP settings at Mailpit and every email lands in a web UI instead of a real inbox. It has an API for asserting on emails in automated tests.

Instead of

MailHog (unmaintained), sending test emails to your own address

Reach for it when

Your app sends sign-up, reset or notification emails.

Try it in a few minutes

docker run -d -p 8025:8025 -p 1025:1025 axllent/mailpit
# SMTP on localhost:1025, inbox at http://localhost:8025

Related

Testcontainers Gem

Spin up real databases and services in Docker from inside your tests.

Instead of: Mocked database layers, shared test databases, hand-written docker-compose setup

Bruno Gem

An offline API client that stores collections as plain text files in your repo.

Instead of: Postman / Insomnia cloud collections