Fault-tolerant, high availability global email delivery with SPF, DKIM, and DMARC protection.
API, SDK ready to integrate with your favorite tools and platforms.
Send and receive emails at scale with AgentMail with our usage-based pricing.
from agentmail import AgentMail
client = AgentMail()
inbox = client.inboxes.create(
username="hello",
domain="agentmail.to"
)
client.inboxes.messages.reply(
inbox_id=inbox.inbox_id,
message_id="...",
text="Hello, world!"
)
Agent Status
Get started with AgentMail with a couple lines of code in seconds.
Here's what makes us different from any other email solution.
Create unlimited agent inboxes at scale with flexible, usage-based pricing instead of fixed subscription fees with built-in support for SPF, DKIM, and DMARC to optimize inbox delivery and prevent spam.
Empower agents with their own email identities for seamless third-party integrations–no MFA or OAuth hassles.
Set up custom domains for your agents’ email identities.
Automatically parse and structure email content, including HTML bodies and attachments.
AgentMail integrates with virtually all popular frameworks like Langchain, Llamaindex, and CrewAI to make the dev experience seamless.
Simple, well-documented API designed for easy integration with AI systems.
import { AgentMailClient } from "agentmail";const client = new AgentMailClient({ apiKey: "YOUR_API_KEY" });// Create an inboxconst inbox = await client.inboxes.create({ username: "sales-agent", domain: "yourdomain.com", displayName: "Sales Agent"});
Agents can act as first class citizens on the internet once we give them inboxes.