otpbox

Guides

Practical, code-first guides for testing sign-up and verification flows with a real disposable inbox — for test suites and for AI agents.

Playwright

Test email verification in Playwright

Sign up, receive a real OTP, and finish the flow — with otpbox-playwright, otpbox-sdk, or plain REST.

Playwright · Passwordless

Test magic-link login in Playwright

Request a login link, wait for the magic_login link server-side, open it, and assert the session.

REST API · Free key

Temp mail API with a free key

Mint a key with one curl, no signup, then create inboxes and read OTP codes and links as JSON.

Cypress

Test email verification in Cypress

Use otpbox-sdk from a cy.task() to create an inbox and wait for the code inside a Cypress spec.

MCP · AI agents

OTP testing for AI agents

Give an agent its own inbox over MCP so it can sign up and read a verification code mid-task.

MCP · Setup

An email MCP server for AI agents

Connect Claude Code, Cursor, Copilot, Gemini CLI or Codex to a hosted server that receives test email.

Enterprise · Inbox pools

Provision a 10,000-inbox QA pool

Create thousands of long-lived, numbered test inboxes in one call, export the list, and track inbox-days.

Comparison

OTPBox vs. Mailinator vs. Mailosaur

An honest, factual look at where each tool fits — API-first testing infra vs. general disposable mail.

Comparison

OTPBox vs. Mailosaur

MCP support, SDK coverage, SMS testing, and pooled team quota, compared honestly.

Comparison

OTPBox vs. MailSlurp

Pooled flat pricing vs. per-inbox billing, MCP support, and MailSlurp's sending and SMS features.

Comparison

OTPBox vs. Temp-Mail.org

Both offer a free no-signup inbox — OTPBox adds a developer API, MCP server, and ad-free Premium.

Selenium

Test email verification in Selenium

Drive a Python + pytest signup flow, poll for a real OTP, and clean up — plain REST, no SDK needed.

Puppeteer

Test email verification in Puppeteer

Sign up, receive a real OTP, and finish the flow — with otpbox-sdk or plain REST.

Postman

Test email verification in Postman

Test an API-only signup's OTP step with Postman and Newman — no browser needed.

2FA & SSO

Testing 2FA and SSO/magic-link flows

Email-based 2FA on login, passwordless magic links, and remember-this-device logic.

AI agents

Best email tools for AI agents (2026)

Agent-owned mailboxes vs. disposable inboxes for one verification code — and how to pick.

Looking for the API reference instead? See the docs, or check pricing. Product updates live in the changelog.

← Back to OTPBox