OTP email testing

Capture OTP emails with programmable inboxes

PostMX gives your app, test suite, or CI pipeline a real inbox so you can receive OTP emails, wait for the next message, and extract verification codes by API.

No credit card required ยท Start free in minutes

Common flows

Built for real verification workflows

Use PostMX to test signup codes, login OTPs, MFA prompts, and one-time verification flows.

Signup OTPs

Create a fresh inbox per test and assert the verification code in seconds.

Login and MFA

Capture one-time codes for auth flows without human inbox checks.

CI-friendly

Run the same OTP assertions in local development, preview environments, and CI jobs.

Webhook or polling

Choose push-based signed webhooks or simple waiting from the API.

CLI example

postmx inbox create --label signup-otp --lifecycle temporary --ttl 15
postmx inbox wait inb_123 --timeout 30
postmx inbox message msg_123

Start building today

Test OTP flows with real inboxes

Create inboxes, wait for verification emails, and extract codes through simple APIs.