MailDev logo

MailDev

Local SMTP server with a web UI to test app-generated email

Replaces
SendGrid
5.9k JavaScript MIT 5 months ago

Overview

MailDev is a developer tool that runs a local SMTP server and a web interface to catch and inspect emails your application sends during development. It lets you preview HTML, view headers, and test transactional templates without sending real mail. It is a self-hosted alternative to the testing/sandbox features of services like SendGrid and Mailtrap. It runs trivially via a single Docker container or npm.

Where it falls short of SendGrid

  • A development/testing catcher only — not for sending real production email
  • No deliverability, analytics, or campaign features
  • Not intended as a long-running production mail service
  • Limited storage/persistence for captured messages

We list the gaps honestly so you can decide if the trade-off is worth owning your data.

Tags

smtp
email-testing
development
nodejs
self-hosted
Maintain MailDev?

Claim this listing to keep it accurate, add a deploy template, or feature it on relevant pages.

Show off your self-host difficulty score

Embed the MailDev difficulty badge in your README — it links back here.

Self-host difficulty badge← add this to your README
[![Self-host difficulty](https://openreplace.com/api/badge/maildev)](https://openreplace.com/maildev)

Similar open-source projects

Other self-hostable tools in the same space worth comparing.

Production-ready, config-driven mail server in a single container

18k Shell MIT 9 days ago
4/5
MailDev vs docker-mailserver

Self-hosted mail delivery platform, a SendGrid/Mailgun alternative

17k Ruby MIT 18 days ago
4/5
MailDev vs Postal

High-performance self-hosted newsletter and mailing list manager

17k Go AGPL-3.0 14 days ago
3/5
MailDev vs listmonk

Dockerized full-stack mail server, a self-hosted Gmail alternative

13k PHP GPL-3.0 11 days ago
3/5
MailDev vs mailcow: dockerized