Ephemail

Ephemeral inbox API for end-to-end testing and magic link verification

Testing Made Simple

Stop using real email accounts or complex test infrastructure. Ephemail provides receive-only ephemeral inboxes via API, purpose-built for E2E testing workflows.

// Create ephemeral inbox
const inbox = await ephemail.createInbox();
// inbox.email: "test-abc123@ephemail.declytic.com"

// Trigger your app's magic link flow
await yourApp.sendMagicLink(inbox.email);

// Retrieve the email
const messages = await ephemail.getMessages(inbox.id);
const magicLink = extractLink(messages[0].html);

// Continue your test flow
await page.goto(magicLink);

Perfect For

🎭

Playwright & Cypress Tests

Integrate seamlessly with your existing E2E test suites. No complex setup required.

🔗

Magic Link Testing

Test passwordless authentication flows without maintaining real email accounts.

📧

Email Verification Flows

Verify email delivery and content in your automated tests.

🔄

CI/CD Pipelines

Run reliable email-dependent tests in your continuous integration workflows.

Key Features

Ephemeral Inboxes:

Create temporary inboxes on demand, automatically cleaned up after use

API-First Design:

RESTful API designed for automation and programmatic access

No Maintenance:

No email servers to manage, no accounts to clean up

Fast Delivery:

Messages delivered instantly to your test inboxes

Webhook Support:

Get notified when emails arrive for real-time test flows

Use Cases

  • Playwright Tests: Test magic link authentication in your E2E test suite
  • Cypress Tests: Verify email-based workflows without external dependencies
  • Integration Tests: Test email notifications and verification flows
  • Staging Environments: Generate test users without polluting real email accounts

📝 Note

Inbound email domain is ephemail.declytic.com. All ephemeral inboxes use this domain for receiving messages.

Coming Soon

Ephemail is currently in development. API documentation and early access details will be available soon.

API Documentation Coming Soon