Email infrastructure for development & testing

Email development,
simplified

SMTP testing for development, Cloud API for E2E testing. One tool for every email workflow.

No credit card required · 100 emails/mo free

Terminal — mailbrew-demo
$ curl -X POST https://api.mailbrew.io/v1/addresses \
-H "X-API-Key: mb_sk3x..." -d '{"ttl": 3600}'
 
{
"address": "[email protected]",
"expires_at": "2026-03-28T13:00:00Z"
}
 
$ # Waiting for email...
 
$ curl https://api.mailbrew.io/v1/addresses/t9xk2m@.../emails \
-H "X-API-Key: mb_sk3x..."
 
{ "data": [{ "subject": "Your verification code",
"text_body": "Your code is: 847291" }] }

Two ways to use

Two ways to use MailBrew

Choose the right mode for your development phase

UI
SMTP Mode

Email Send Testing

Just point your app's SMTP to MailBrew. View sent emails in your dashboard's shared inbox in real time. No external email service needed during development.

1 Set SMTP to smtp.mailbrew.dev
2 Send emails from your app
3 View instantly in dashboard
API
Cloud API Mode

E2E & CI Testing

Create test addresses via API, receive real emails, and automate verification with OTP extraction, link checking, and assertions. CI/CD ready.

1 Create test address via API
2 Your app sends email to that address
3 Verify received email via API

Cloud API

How Cloud API works

01

Create an address

POST /addresses to instantly get a unique email address. Set TTL and webhook URL.

POST /v1/addresses → [email protected]
02

Send an email

Send an email to the generated address from your application under test.

send_verification_email( "[email protected]" )
03

Retrieve via API

Get email content via REST API or webhook notification. Access subject, body, and attachments.

GET /v1/addresses/{addr}/emails → { subject, text_body, html_body }

Features

Everything you need for E2E testing

OTP

OTP auto-extraction

Dedicated API extracts one-time passwords from email body automatically. No regex needed, cleaner test code.

E2E

Playwright & Cypress SDKs

Native integration with test frameworks via official SDKs. Auto-managed address creation and cleanup.

Email assertion API

POST /assert to verify subject, sender, and body in one call. Get instant pass/fail results.

CI

CI/CD ready

GitHub Actions template included. Add one env var to integrate into your CI pipeline.

://

Link verification

Auto-extract URLs from emails. Test password reset links, invitation links, and verification URLs.

{ }

Webhook notifications

Real-time POST on email receipt. Slack integration supported. No polling needed for faster tests.

Use Cases

Automate every email workflow

From development and testing to security audits, covering all email-related workflows

API Reference

Simple REST API

Get started in your language of choice

# 1. Create an address
curl -X POST https://api.mailbrew.io/v1/addresses \
  -H "X-API-Key: mb_your_key_here" \
  -d '{"ttl": 3600, "webhook_url": "https://your-app.com/hook"}'

# Response:
# {
#   "address": "[email protected]",
#   "expires_at": "2026-03-28T13:00:00Z"
# }

# 2. Retrieve emails
curl https://api.mailbrew.io/v1/addresses/[email protected]/emails \
  -H "X-API-Key: mb_your_key_here"

Pricing

Simple pricing

From small projects to large teams

Free

$0
Emails100/mo
Addresses5
Rate limit10 req/min
- REST API
- Webhooks
- TTL auto-delete
Get started free

Starter

$19/mo
Emails1,000/mo
Addresses20
Rate limit30 req/min
- Everything in Free
- Priority support
- Custom TTL
Get started

Pro

Popular
$99/mo
Emails10,000/mo
Addresses100
Rate limit120 req/min
- Everything in Starter
- Team sharing
- API logs
Get started

Enterprise

Custom
EmailsUnlimited
AddressesUnlimited
Rate limitUnlimited
- Everything in Pro
- SLA guarantee
- Dedicated support
Contact us

Automate your email testing

Get started with the free plan today.
No credit card required.

Create free account