Agent Mail
AgentMail provides AI agents with their own email inboxes, enabling them to send, receive, and act upon emails for communication with services, people, and other agents.
Tools (5)
Create Inbox
Create a new AgentMail inbox via API. Returns the inbox_id and email address for sending/receiving messages. Use when provisioning new inboxes for agents or workflows.
Inputs: domain, username, client_id, display_name
Get Message
Retrieve the complete details of a specific email message from an AgentMail inbox. This action returns the full message content including sender, recipients, subject, body (both text and HTML), attachments, labels, and metadata. Use this to read individual messages after discovering them via LIST_MESSAGES or webhooks.
Inputs: inbox_id, message_id
List Inboxes
List all inboxes available to the authenticated AgentMail account. Use this to discover valid inbox_id values for message operations.
Inputs: limit, ascending, page_token
List Messages
List messages from an AgentMail inbox. Returns a `messages` array; each message uses `message_id` and `timestamp` fields (not `id`, `date`, or `items`).
Inputs: after, limit, before, labels, inbox_id, ascending, page_token, include_spam
Send Email
Send an email using AgentMail API
Inputs: cc, to, bcc, html, text, labels, subject, inbox_id, reply_to