Tempx for Developers

Test emails from your application or AI agent. Tempx is a free email testing toolkit: send mail through the capture-only SMTP gateway, watch it land in a working inbox, and inspect it — nothing ever reaches a real person. For AI coding agents and automated workflows, connect through MCP. Every surface is free to start.

app sends via SMTPTempx capturesinbox shows itassert / verify
# 1. Mint an SMTP credential for your inbox at tempx.uk/account
# 2. Send through the capture-only gateway - nothing reaches a real person:
swaks --to anything@yourapp.test --server smtp.tempx.uk:587 \
      --auth LOGIN --au "$TEMPX_SMTP_USER" --ap "$TEMPX_SMTP_PASSWORD" \
      --header "Subject: signup verification test"
# 3. Inspect the captured mail: web inbox, browser extension, or MCP wait_for_email

The surfaces

How mail is read programmatically: the web app and the extensions read inboxes through Tempx's internal product API, which is reserved for first-party clients. Your integration path is SMTP in, MCP out — and for scripts you own, a private inbox authenticates its reads with a Bearer token.

Choosing a surface

SurfaceAuthBest for
SMTP gatewaytmtp_ user + password (or an API key)Framework mailers, staging apps, CI
MCP serverOAuth pairing or tmcp_AI agents, prompt-driven testing, wait_for_email
Resend adaptertmcp_ token (send)Apps already using the Resend SDK
Private inbox + tokenBearer tokenScripts you own reading raw JSON; keeping test mail away from public names
Web inbox / extensionsnoneHumans watching a test run

Every auth mode and rate limit is catalogued in the developer 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 its first reader. 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: programmatic anonymous mailbox creation is Turnstile-gated — tests should derive names, not create inboxes — and the internal REST surface that powers the web app and extensions is not part of the developer contract. Your integration path is SMTP in, MCP out.

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. Inspect the captured message — in the web inbox, via a browser extension, or with wait_for_email over MCP — and assert on subject, sender or the code inside.

Open an inbox and send it something

The mail app is live at tempx.uk/mail — point the gateway at it and watch the capture land.

Open the inbox

Related