For businesses, developers and AI agents
API-first email infrastructure
as the building blocks of email.
We don't ship the finished product. You build it on top of us, with inboxes, sending, receiving, search and webhooks in one infrastructure.
What your clicks call
Runs where you deploy, and inside the tools you build with.
- Node.js
- Bun
- Deno
- Cloudflare Workers
- TypeScript
- Python
- Ruby
- PHP
- Go
- Java
- C#
- Claude Code
- Cursor
- Codex
- GitHub Copilot
- Windsurf
- Gemini CLI
- v0
- Bolt
- Lovable
- Base44
- Modulify
- Replit
- MCP
The building blocks
What are the
building blocks?
Domains, inboxes, sending, receiving and more. Use one on its own or put them together. Every block works the same over REST, the SDKs, the CLI and MCP.
- 01DomainsYour own domain, verified with one call.POST/domains/{id}/verify
- 02InboxesReal addresses, or a catch-all that takes every one.POST/domains/{id}/addresses
- 03SendingSend now or later. A retry never sends twice.POST/emails
- 04ReceivingMail lands in threads, parsed and checked.GET/threads/wait
- 05WebhooksEvery event, signed, at your endpoint.POST/webhooks
- 06Live eventsWatch a mailbox change as it happens.GET/live-events
- 07CalendarEvents and invitations that calendar apps understand.POST/calendar/events
- 08ContactsOne address book, synced to phones and mail apps.POST/contacts
- 09AttachmentsAttachments stored as files you can list and share by link.POST/files/{id}/links
Every surface
One API,
four ways in.
REST, typed SDKs in seven languages, a command line and MCP reach the same operations, with the same scopes and limits.
Products
What can you build
with it?
Pick a product to see the blocks it is built on.
Your product
Agent inbox
An address for each agent, reading and answering its own mail.
LikeAgentMail
- Domains
- Inboxes
- Sending
- Receiving
- Live events
Built on Nextmail,
in production today.
8 products run their email on Nextmail. Each page shows what runs through it, and most also show the code they wrote and how they put it together.
Admit one team
15minutes
- Video call
- Free
- No slides
Talk to us
Not sure it fits?
Ask the people who build it.
Tell us how your team handles mail today. We will tell you honestly whether Nextmail fits, what moving over involves and what it would cost. Fifteen minutes, no slides.
Give it an address.
Watch it work.
MCP, the API and the command line come with every plan, the free one included. Connect a client and approve exactly what it reaches.
Read https://nextmail.sh/agent.md and follow it. Then tell me what I need to do to sign you in to my Nextmail mailbox. If I have no account yet, create one with my address and ask me for the code that arrives. Wait for my go-ahead before you send anything.

