Agent-native email, end to end.
The mails.ai API is REST over HTTPS — send from named agents, receive structured reply events, and branch on the signal mails.ai computes on every inbound. No SDK required to start. Here is the full reference.
Start with the Quickstart. It takes about five minutes. You’ll send your first email and receive a structured reply event. The API reference covers every endpoint. The guides go deeper on specific patterns.
Getting started
Core concepts
API reference
Guides
List events or tail the live SSE stream. Every event type, the inbound payload, and a reconnect-safe consumer.
Register an endpoint, verify the HMAC signature, handle retries. The push half of the events model, done safely.
REST is available now. The TypeScript/Python SDKs and the MCP server publish at Phase 1 launch — here's the shape they'll take.
Operations
Go deeper
The reasoning behind the API surface — architecture, patterns, and the security model — lives on the blog and glossary.
How sends and replies flow on the inside — pipeline, injection scanning, reputation, failover.
Why every inbound is parsed into a typed event before it reaches your code.
The RCE-class risk for any agent that reads mail, and how the injection_score gates it.
Definitions for the agent-mail vocabulary, structured for citation.