Temporary email API for testing

Test every email flow without a real inbox.

Create an isolated receive-only inbox from your backend, send your product's email, and inspect exactly what arrived through a focused REST API.

Create an inboxREST v1
curl https://api.tempmaillab.com/v1/emails \
  --request POST \
  --header "Authorization: Bearer $TML_API_KEY" \
  --header "Idempotency-Key: $REQUEST_ID" \
  --header "Content-Type: application/json" \
  --data '{}'

201 Created

{
  "data": {
    "id": "eml_01K3T8Q2W7J4",
    "address": "qa-42@digibeast.my",
    "expires_at": "2026-09-17T12:00:00Z"
  }
}

API facts

Free
100 lifetime requests
Premium
10,000 requests / month
Inbox lifetime
30 days
Message data
15 minutes

Built for product teams

A fresh inbox for every test.

Keep test email separate from personal accounts and shared QA mailboxes.

01

Verify sign-up flows

Create an inbox per test and read the confirmation link or one-time code.

02

Test password resets

Capture recovery emails without using a personal or shared mailbox.

03

Run automated QA

Give every CI run an isolated address and assert against the message it receives.

How it works

From API key to received message.

  1. 01

    Create an API key

    Manage your key from the Temp Mail Lab dashboard.

  2. 02

    Create an inbox

    Send one request from your backend to get a temporary address.

  3. 03

    Read the message

    Retrieve the message data you need as soon as the email arrives.

Start Free, upgrade when ready

Add API access to your testing workflow.

Free accounts include 100 requests for the lifetime of the account. Premium includes 10,000 requests per UTC calendar month.

Compare Free and Premium