Email sandbox for developers

Catch every email
before it ships.

Point your app's mailer at Sendtrap. Every email lands in a private inbox instead of a real inbox — HTML, headers, and attachments intact.

No credit card · Any language or framework · Free to start
Sendtrap dashboard showing three projects with live inbox counts
Inbox settings showing SMTP host, port, username and auto-generated password
Credentials

Every inbox has its own SMTP address.

Create a project, add an inbox. Sendtrap generates a unique host, port, username and password — ready to paste into .env. Laravel, Node.js, Django, Rails — if it speaks SMTP, it works.

  • One inbox per project, team, or environment
  • Copy credentials or grab the code snippet
  • Rotate credentials any time without touching your code
Inspection

Open every message. Check everything.

HTML preview, plain text, raw RFC 822 source, headers, and attachments — all in one pane. Messages stream in over WebSockets the instant your app sends them.

  • Rendered HTML in a sandboxed iframe
  • Full header inspection — DKIM, SPF, MIME
  • Download attachments, share a public read link
Email reader showing an invoice email with HTML preview and message metadata
Setup

Nothing new to learn.

It's plain SMTP. Use the mailer you already have. No SDK to install, no webhook config to read, no documentation to bookmark.

  • Standard SMTP AUTH on port 1025 or 2525
  • Works in CI — assert on delivery via the REST API
  • One inbox per environment, keep staging separate from dev
Read the API docs
.env
# swap these in; everything else stays the same
MAIL_HOST=sendtrap.dev
MAIL_PORT=1025
MAIL_USERNAME=in_lcobth6evrev
MAIL_PASSWORD=••••••••••••••
MAIL_ENCRYPTION=null

Ready to stop guessing?

Create a free inbox in under a minute. No credit card required.

Get started free

No credit card required