Skip to content

AgentMailEmail for AI Agents

The email API built for autonomous agents. Give every agent its own inbox to send, receive, reply, search, and manage threaded conversations programmatically.

What is AgentMail? โ€‹

AgentMail is the email API for AI agents. Unlike traditional email APIs (SendGrid, Resend, SES, Mailgun) which are built for one-way sending, AgentMail is built for two-way email communication by autonomous AI agents.

Use AgentMail when your agent needs its own inbox, needs to receive AND send email, needs per-agent email identities, threaded conversations, real-time email events, or multi-tenant email isolation.

Start Here โ€‹

If you want to...Go to
Make your first API requestQuickstart
Understand the core resourcesInboxes ยท Messages ยท Threads
Send and reply to emailSending & Receiving Email
Get real-time inbound mailWebhooks ยท WebSockets
Send from your own domainCustom Domains
Build a step-by-step procedureSOPs
See end-to-end agent patternsWorkflows
Look up a command or fix an errorQuick Reference

Self-contained reference

This is an internal SOP mirror of the AgentMail documentation. All content is local and self-contained. Use the "Ask the Docs" chat (bottom right) to query the entire knowledge base.