Patterns and copy-paste examples for OTPs, magic links, password resets, deliverability checks, and AI-driven tests — from the first local run to parallel CI.
Replace shared mailboxes, fixed sleeps, and expect.poll loops with isolated inboxes and one bounded wait.
Read the Playwright guide → AUTHENTICATIONExercise the real sending path and consume the code as a typed field instead of scraping the message.
Read the OTP guide → AI + MCPLet an agent create addresses, wait for verification mail, read codes, and follow links without human handoffs.
Read the agent guide →Use the integration shape that fits where your test code runs. Each guide covers isolation, cleanup, parallel execution, and CI.
A worker-safe inbox fixture with automatic teardown and one long-poll await.
CYPRESSKeep credentials in Node and bridge email waits safely through cy.task.
PYTESTA function-scoped inbox fixture that stays rerun-safe without time.sleep.
Test the happy path and the security behavior around it: expiry, reuse, resend, enumeration, and parallel runs.
Fresh inboxes, bounded waits, typed extraction, and the edge cases worth asserting.
MAGIC LINKSClassified verification links, single-use behavior, expiry, and scanner prefetch.
PASSWORD RESETAccount-per-test isolation and the security assertions beyond “the link arrived.”
SMS OTPDedicated receive-only numbers with the same wait and extraction shape as email.
A message arriving is only the first assertion. Check authentication, content signals, and the address strategy your suite depends on.
Catch broken sender authentication in CI before mailbox providers expose it.
SPAMASSASSINAssert a stable content baseline and inspect every rule that contributes points.
CUSTOM DOMAINSWhy shared domains reach disposable lists and how a test subdomain avoids the dependency.
Let an agent complete email-gated workflows during exploration, then leave a deterministic SDK-backed test behind for CI.
Start with the quickstart for your framework, create one inbox, and get the first OTP test green.
Start free Open the quickstart