🧪 Deterministic CI/CD & Agentic QA

Zero-Flake Email & OTP Testing for Automated QA

Stop failing CI builds over rate-limited Gmail accounts or collided +alias hacks. Provision isolated @botmail.work inboxes via REST API, CLI, or MCP to verify OTPs, magic links, and transactional flows in milliseconds.

3D illustration of the Botmail robot inspector scanning glowing mint and peach envelopes on a high-speed conveyor belt to extract a 6-digit OTP code 849 201
0 Flake
Isolated Per-Worker Queues
REST + MCP
Playwright & AI Agent Ready
No Reuse
Addresses Never Reassigned
A$0/mo
Free Sandbox Tier to Start

Why signup and 2FA tests fail in modern CI pipelines

Authentication flows are the most critical path in your application—and the easiest to break when test runners share a brittle email bucket.

RACE CONDITIONS

Parallel Worker Collisions

When 16 Playwright shards trigger password resets at the same second, polling a single catch-all inbox grabs the wrong OTP token and fails the build randomly.

PLUS-ADDRESS BLOCKERS

Strict Validator Rejections

Many enterprise forms and payment gateways strip or reject user+test123@gmail.com syntax, leaving QA teams unable to test real production validation rules.

OAUTH EXPIRY IN CI

Broken IMAP App Passwords

Consumer mail providers routinely throttle CI data-center IPs and expire OAuth refresh tokens on Friday afternoons, halting deployments until someone re-authenticates.

âš¡ Parallel Test Isolation

Dedicated lanes for every Playwright shard and AI test agent

Botmail separates temporary inbox expiry from message retention and gives every test run a clean, deterministic target address with structured JSON output.

  • Clean Standard Addresses: Test with realistic @botmail.work addresses that pass strict RFC and enterprise form validators.
  • AI Coding Agent Native: Let Cline, Cursor, or Claude Code spin up a browser, submit your signup form, fetch the OTP via MCP, and assert login success without human copy-pasting.
  • Human Visual Debugging: When a test fails in CI, open the Botmail dashboard to inspect the exact raw text, headers, and delivery timeline alongside your team.
  • Predictable Flat Pricing: No surprise per-message overages when your nightly regression suite runs 500 signup verifications.
3D illustration of three parallel test conveyor lanes supervised by Botmail robots sorting mint and peach envelopes into isolated zero-flake buckets

Drop-in OTP extraction for Playwright & AI QA runners

Use standard fetch in your TypeScript test suite or let your MCP-enabled coding agent verify flows conversationally.

tests/signup-otp.spec.ts (Playwright)
// Poll isolated Botmail test inbox for the 6-digit OTP const res = await fetch( `https://api.botmail.work/v1/inboxes/${inboxId}/messages?unread=true`, { headers: { Authorization: `Bearer ${process.env.BOTMAIL_TOKEN}` } } ); const { messages } = await res.json(); const latest = messages[0]; // Extract 6-digit verification code deterministically const otpMatch = latest.body_text.match(/\b(\d{6})\b/); await page.getByLabel('Verification Code').fill(otpMatch![1]); await page.getByRole('button', { name: 'Verify' }).click();
Autonomous QA Agent Prompt (MCP + Browser)
# Prompt to Cursor / Cline / Claude Code with @botmail/mcp enabled: "1. Check our QA inbox address using Botmail MCP. 2. Open localhost:3000/register and sign up with that address. 3. Read the inbound welcome email via Botmail MCP, extract the magic verification link, and navigate to it. 4. Verify the dashboard loads with status 200 and archive the test email so the inbox stays clean for the next run."

Botmail vs. traditional QA email tools

Built for both deterministic CI pipelines and autonomous AI test agents.

Feature Botmail Legacy QA Sandbox Traps Gmail +alias Hacks
Real External Inbound Delivery ✓ Receives real internet & internal mail Often restricted to fake SMTP staging ✓ Real mail, but throttled in CI
Native MCP Server for AI QA Agents ✓ 11 tools (stdio & Streamable HTTP) ✕ REST-only; no native MCP governance ✕ Requires brittle custom scripts
Address Non-Reassignment Guarantee ✓ Issued addresses are never recycled Public/shared addresses leak across users Shared single mailbox across all tests
Pricing Model ✓ Flat AUD tiers (A$0 / A$9 / A$25 inc. GST) Expensive enterprise seat & overage fees Workspace seat cost + security risk

Frequently asked questions

How does Botmail prevent race conditions in parallel Playwright or Cypress runs?

Instead of funneling parallel test workers into a single mailbox, you can allocate distinct project inboxes per shard or test suite and filter unread messages deterministically via REST API or CLI.

What is the difference between mailbox expiry and message retention?

In Botmail, mailbox expiry controls how long a temporary inbox accepts new inbound mail, while message retention governs how long received messages remain stored and auditable in your archive.

Can autonomous coding agents use Botmail during local development?

Yes. Connect @botmail/mcp or botmail-cli to Claude Code, Cline, or Cursor so your coding agent can test registration, password reset, and magic-link emails end-to-end before opening a pull request.

Is there a free tier for small open-source or solo projects?

Yes. The Sandbox tier is A$0.00/month and includes 2 active inboxes, 50 messages per day, 250 archive messages, and full access to the REST API, CLI, and MCP server.

Explore more AI email scenarios

Discover how teams use Botmail across autonomous engineering and business operations.

Make flaky email verification tests a thing of the past

Create your first QA inbox in seconds. Free Sandbox tier available with no credit card required.

Open Botmail Dashboard