Agent Onboarding
If you’re developing with AI, AgentMail offers several resources to improve your experience.
Get an API key
Your agent can sign up programmatically using the Agent API. No console access needed.
A 6-digit OTP is sent to the provided email. Verify to unlock full permissions:
The sign-up endpoint is idempotent. Calling it again with the same email rotates the API key and resends the OTP if expired.
Alternatively, a human can create an account at console.agentmail.to and generate an API key from the dashboard.
AgentMail’s free tier includes 3 inboxes and 3,000 emails/month. Your agent can start building immediately.
AgentMail MCP Server
MCP (Model Context Protocol) is an open protocol that standardizes how applications provide context to LLMs. The AgentMail MCP server gives your AI agent tools to create inboxes, send emails, manage threads, and more.
Setup
Add this to your MCP client configuration (Claude Code, Cursor, Codex, etc.):
You can selectively enable specific tools using the --tools argument:
Available MCP Tools
AgentMail Docs for Agents
You can give your agent current docs in three ways:
-
Full documentation index
A structured index of every doc page with descriptions:
-
Complete docs in one file
Every doc page concatenated into a single file for full context:
-
Markdown versions of any page
Every doc page is available as Markdown. Append
.mdto any page URL:
AgentMail Skills
Skills give AI agents specialized knowledge for specific tasks. Install the AgentMail skill to give your coding assistant full email capabilities:
Claude Code
Cursor
Codex
Manual Installation
Then set your API key:
Quick start for agents
Sign up, create an inbox, and send your first email:
Already have an API key? Skip the sign-up step and initialize the client directly with your key.
Receive and reply to emails
AI Builder Integrations
AgentMail integrates with popular AI development platforms:
Build email agents on Replit with our template.
Add email to LiveKit voice agents.
Use AgentMail with OpenClaw agents.
Real-time email events without webhooks.
What Makes AgentMail Different?
Unlike traditional email APIs that are built for one-way transactional email, AgentMail is built for two-way agent communication:
