maildev

:mailbox: SMTP Server + Web Interface for viewing and testing emails during development.

What is maildev?

:mailbox: SMTP Server + Web Interface for viewing and testing emails during development.

Overview of maildev

What it is

MailDev is an SMTP server combined with a web interface for viewing and testing emails during development. It is built on top of Node.js and runs locally on the developer's machine.

Key features

  • SMTP server that catches emails sent during development
  • Web interface accessible via browser for viewing received emails
  • Docker support via the maildev/maildev image
  • Configuration file support (maildev.config.js, maildev.config.ts, .maildevrc.json)
  • Node.js API and REST API for programmatic use
  • AI Agent Integration (MCP) via --mcp flag for use with Claude and other MCP clients
  • Storage limit option (--max-emails) to cap the number of kept emails and manage memory usage

Use cases

Testing email functionality of applications during development without sending real emails. Developers can inspect generated emails, verify content, and debug email workflows locally.

Getting started

Install globally via npm:

npm install -g maildev

Or run with Docker:

docker run -p 1080:1080 -p 1025:1025 maildev/maildev

After starting, the web interface is available at http://localhost:1080 and the SMTP server listens on port 1025.

License and pricing

MailDev is open source under the MIT license.

Based on the project's public README and repository metadata.

Add this badge to your README

Featured on YunoDB Badge styles & help

Maintain this project? Show that it is featured on YunoDB.

Markdown[![Featured on YunoDB](https://yunodb.com/badge/maildevmaildev.svg)](https://yunodb.com/tools/maildevmaildev?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/maildevmaildev?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/maildevmaildev.svg" alt="Featured on YunoDB" height="20"></a>