One inbox per scenario
Keep test messages isolated by creating a fresh temporary address for the flow under test.
Email testing workflow
Create a temporary mailbox for each scenario, trigger the product action that sends mail, wait for the incoming message, read it through the API or CLI, and let your test code extract the product-specific link or code.
Keep test messages isolated by creating a fresh temporary address for the flow under test.
Use API keys or mailfab CLI JSON output to create, wait, read, and delete test inboxes.
Signed-in workflows can use webhook notifications for new inbound mail when polling is not the best fit.
Test shape
Mailfab provides the temporary inbox, polling, message reading, and cleanup primitives. Your application test remains responsible for finding the expected link, code, sender, or subject in the message content.
Manual to automated
The guest inbox is useful for quick manual checks. When temporary email becomes part of CI, Playwright, or agent workflows, signed-in mailboxes add API keys, CLI usage, webhooks, and share links.