Tempx for Developers

Tempx is a free email testing toolkit built around one idea: mail you can inspect programmatically, without a real mailbox and without ever reaching a real person. Open the app and you have a working address; send mail to it and read it back over a REST API; point your mailer at a capture-only SMTP server; or let an AI agent own the inbox over MCP. Every surface is free, and none of them requires an account to start.

your app sends mailTempx inboxyour test reads the APIassert

# 1. Pick any address - for named inboxes the name IS the mailbox
ADDR="qa-check-427@tempx.uk"

# 2. Send mail to it from anywhere (your app, your provider, a colleague)

# 3. Read the inbox over the REST API - no account, no auth
curl -s "https://tempx.uk/api/inbox?address=$ADDR" | jq '.messages[0]'

Four ways in

Choosing a surface

SurfaceAuthBest for
Named inbox + APInone (name is the secret)QA suites, E2E tests, quick manual checks
Private inbox + tokenBearer tokenKeeping test mail away from public names
SMTP gatewaytmtp_ user + passwordFramework mailers, staging apps, CI
Resend adaptertmcp_ token (send)Apps already using the Resend SDK
MCP serverOAuth pairing or tmcp_AI agents, prompt-driven testing

Every endpoint, auth mode and rate limit is catalogued in the API documentation — generated from the same registry as the machine-readable llms.txt overview, so it cannot drift from the product.

Fresh inbox per run, zero cleanup

Named inboxes exist from the moment mail is sent to them, so a test suite can derive a unique address per run — ci-signup-8f3a1@tempx.uk — and never collide with a parallel job. Mail to any unused name is accepted by our MX and waits for the first read. Inboxes and their contents are deleted automatically (named inboxes keep mail up to 7 days), so there is nothing to tear down in your pipeline.

Two design limits worth knowing up front: the inbox API is meant for server-side calls (browser-based cross-origin calls are refused by design), and programmatic anonymous mailbox creation is Turnstile-gated — tests should derive names, not create accounts.

Start in three steps

  1. Pick an address for your test run — any name at tempx.uk works, no sign-up.
  2. Send mail to it: point your app's SMTP at the capture gateway, or just send from any real provider — our MX accepts it.
  3. Read GET /api/inbox?address=… from your test and assert on subject, sender or the code inside the preview.

Open an inbox and try one call

The mail app is live at tempx.uk/mail — send it something and watch the API answer.

Open the inbox

Related