How it works
Three steps to email testing in Cypress.
Install the SDK
npm install @inboxical/cypress — registers custom commands automatically in your Cypress project.
Use custom commands
cy.createInbox() and cy.waitForMessage() integrate naturally with Cypress's chainable API.
Assert with confidence
Long-poll for messages, check subjects, extract OTPs — no cy.wait(5000) or retry hacks.
Complete email verification test
A real-world Cypress test using Inboxical custom commands.
Why teams choose Inboxical for Cypress
Purpose-built for test automation — every feature designed for CI/CD.
Custom commands
cy.createInbox() and cy.waitForMessage() feel native to Cypress. No raw API calls in your tests.
Parallel-safe
Each test gets its own isolated inbox. Run in parallel with zero cross-test interference.
No cy.wait()
Long-polling means cy.waitForMessage() resolves when the email arrives. No arbitrary delays.
OTP extraction
Auto-extract 4-8 digit codes. Access via messages[0].extracted_otp — no regex needed.
CI/CD ready
Works in GitHub Actions, GitLab CI, CircleCI. Set CYPRESS_INBOXICAL_API_KEY and go.
Full email inspection
Check subject, from, to, body, HTML, headers, and attachments.