Disposable email inboxes
for your automation tests

Create isolated inboxes on demand, receive emails via SMTP, and fetch them instantly through a simple REST API. No more shared mailboxes or flaky email tests.

Start for free → View API Docs
test_signup.py
# 1. Create a disposable inbox
inbox = requests.post("https://getmailflat.com/api/inboxes",
    headers={"Authorization": "Bearer YOUR_API_KEY"},
    json={"prefix": "signup"}
).json()
# → { "address": "signup@x7k2m.getmailflat.com" }

# 2. Trigger the signup flow in your app
driver.find_element(By.ID, "email").send_keys(inbox["address"])

# 3. Fetch the OTP from the inbox
emails = requests.get(f"https://getmailflat.com/api/inboxes/{inbox['address']}/emails",
    headers={"Authorization": "Bearer YOUR_API_KEY"}
).json()
otp = re.search(r'\d{6}', emails[0]["body"]).group()
Features
Everything your tests need
No configuration, no shared state, no flaky tests.
📬
Instant Inboxes
Create isolated email inboxes on demand via API. Each inbox gets a unique address like signup@x7k2.getmailflat.com.
Real SMTP Reception
Emails are received over real SMTP on port 25 — no webhooks or polling delays. Your tests get emails the moment they arrive.
🔑
Simple REST API
Create inboxes, list emails, read body content — all with straightforward JSON endpoints. Works with any language or framework.
🗑️
Auto Cleanup
Inboxes and emails are automatically purged after their TTL expires. No manual cleanup required between test runs.
🔒
Isolated Per Test
Each test gets its own inbox. No more race conditions from shared mailboxes across parallel test runs.
🖥️
Built-in Dashboard
Inspect received emails in a clean three-panel UI. Debug your email flows without writing a single line of code.
Up and running in minutes
1
Create an account
Sign up and get your API key. No credit card required.
2
Create an inbox
POST to /api/inboxes and get a unique email address instantly.
3
Run your test
Use the inbox address in your test flow. Emails arrive in real-time.
4
Fetch & assert
GET the emails via API, extract OTPs or links, and assert your expected behavior.

Ready to fix your
email tests?

Start for free. No credit card. No setup. Just working email inboxes for your tests.

Get started for free →
Feedback

Have a suggestion, bug report, or just want to say hi?
Reach out to Onder Yentar directly:

onderyentar32@gmail.com