Use case · Inbound email API

Turn incoming email into webhooks

Every email that hits your zerotier.email mailbox — or just the verification code inside it — is POSTed to a URL you control, in real time. It is an inbound email API with nothing to host: no mail server, no IMAP polling, no glue service in between. And it is included on the free plan.

Claim your free mailbox

Inbound email as an HTTP POST

When mail arrives, our server accepts it, runs the SPF, DKIM and DMARC checks, and then sends an HTTP POST to your endpoint the instant the message is accepted. There is no five-minute IMAP poll and no third-party automation platform charging per task — the email becomes a request to your own URL within seconds. Because the underlying address is a genuine mailbox, it can receive anything a normal address can, and every one of those messages can fan out to your webhook.

What you can build

Codes vs. full messages

You decide what the POST carries. For login and 2FA flows, choose code-only delivery and your endpoint receives just the extracted verification code — no parsing on your side. For everything else, take the full payload with sender, subject and body so you can process the message however you like. Either mode fires the same way: in real time, the moment the mail lands.

From the Telegram bot

Setup lives in the bot. Open @zerotier_mail_bot, run /webhook, and point your mailbox at an endpoint — that is the whole configuration. It pairs naturally with QA and test automation, where each test run needs to assert on real delivered mail. If you are weighing your options for getting mail out of an inbox and into your own systems, see the rundown of ways to forward email to Telegram.

Free to start

The free plan includes one mailbox with real-time Telegram delivery and the verification-code webhook, with the full security stack. Need many endpoints — one per client, environment or project? Pro unlocks unlimited mailboxes. You can read more on the overview any time.

Claim your free mailbox