Skip to main content

What is ZeroDrop?

ZeroDrop gives your Playwright and Cypress tests a real email inbox — instantly. Send a verification email, catch it at the edge, extract the OTP automatically, and complete the flow. No Docker container. No SMTP server. No mocking.

Quick install

npm install zerodrop-client
import { ZeroDrop } from 'zerodrop-client';

const mail = new ZeroDrop();
const inbox = mail.generateInbox();

// Wait for email — OTP auto-extracted, no regex needed
const email = await mail.waitForLatest(inbox, { timeout: 30000 });
console.log(email.otp);       // "123456"
console.log(email.magicLink); // "https://..."

Get started

Quick Start

Install the SDK and write your first email test in under 5 minutes.

Playwright

Full guide for email verification, OTP, and password reset flows in Playwright.

GitHub Actions

Add a disposable inbox to your CI pipeline with one Action.

SDK Reference

Full API documentation for zerodrop-client.

How it works

  1. Generate an inbox — local, instant, no network request
  2. Send an email — your app sends a real verification email
  3. Catch it at the edge — Cloudflare Worker catches it, Llama 3.1 filters spam
  4. Auto-extract OTP — stored alongside the email, ready to use
  5. Sub-second delivery — SDK uses SSE, falls back to polling

Zero telemetry

ZeroDrop does not track your test suites, build environments, project names, or CI runner metadata. Your CI pipeline is your business.