Mailfornet

Build on Mailfornet

A test that signs a user up needs a real inbox to read the verification code out of. Mailfornet gives your suite a fresh one on demand, over a REST API, and hands the mail back as JSON.

npm install mailfornet
const inbox = await mf.createInbox();
await signUp(inbox.address);
const code = await mf.waitForCode(inbox.address);

No polling loop, no IMAP, and no shared mailbox that two parallel test runs fight over.

Where to go next

What you get

The official Node client

The mailfornet package ships TypeScript types, the long-polling helpers and webhook signature verification. You can call the API with plain fetch instead — it's ordinary REST, and the OpenAPI spec will generate a client in most languages.

Ready to start?

Create a developer account, claim the free tier — 100 requests a month, no card — and you can be reading mail from your test suite in a few minutes.