Features

Every tool you need.
Nothing you don't.

Four things — capture, inspect, automate, collaborate — done well enough that you'll never need another email testing tool.

Capture

A dedicated inbox for every project.

Create as many inboxes as you need. Each gets a unique SMTP host, port, username and password — nothing shared, nothing leaked between environments.

  • Standard SMTP AUTH LOGIN / PLAIN
  • Ports 1025, 2525, and 587
  • Nothing is ever delivered to a real address
.env
# change just these four lines
MAIL_HOST=sendtrap.dev
MAIL_PORT=1025
MAIL_USERNAME=in_lcobth6evrev
MAIL_PASSWORD=••••••••••••••

# rest of your mailer config stays the same
MAIL_MAILER=smtp
MAIL_ENCRYPTION=null
Email reader showing a shipping confirmation with HTML preview and full headers
Inspect

See exactly what your app sent.

Flip between rendered HTML, plain text, raw RFC 822 source and full headers. Attachments and inline images are extracted and downloadable.

  • Sandboxed HTML iframe — no external requests
  • Full headers: DKIM, SPF, MIME parts
  • Download attachments, share a public read link
Automate

Assert on email delivery in CI.

Every inbox has a token-authenticated REST API. List messages, fetch bodies, delete after assertion — from your test runner or pipeline.

  • GET /api/v1/messages
  • Bearer token auth, one token per inbox
  • Delete all messages between test runs
  • Mailtrap-compatible aliases — migrate your test helper in minutes
Read the API docs
bash
# assert the welcome email arrived
curl -s https://sendtrap.dev/api/v1/messages \
  -H "Authorization: Bearer <token>" \
  | jq '.data[0].subject'

# → "Welcome to Acme Anvils Ltd"

# clean up between test runs
curl -X DELETE https://sendtrap.dev/api/v1/messages \
  -H "Authorization: Bearer <token>"
POST webhook payload
{
  "event":   "message.received",
  "inbox":   "in_lcobth6evrev",
  "message": {
    "id":      "msg_01jvx9p2k4",
    "subject": "Order #4072 confirmed",
    "from":    "[email protected]"
  },
  "signature": "sha256=3f9a2c8e..."
}
Collaborate

Share, forward, and hook into mail.

Share any message with a public read link, or share a whole inbox so a client can watch test emails land on your dev site as you build. Route an inbox to a real address to see it in your own client. Or fire a signed webhook the moment mail lands.

  • Public read links — no login needed to view
  • Share a whole inbox with a client — read-only, auto-expiring
  • Auto-forward to any real address
  • HMAC-signed webhooks — verifiable on your end

Ready to try it?

Create a free inbox and send your first test email in under a minute.

Create your inbox

No credit card required