Skip to main content Announcing Tool Policies: AI agent permissions down to the field Read the announcement
Connectors AgentMail
Live 63 Actions 21 Events

AgentMail Integration for AI Agents

Connect your AI agent to 63 AgentMail actions via MCP, A2A, or SDK, with agent authentication, tool-calling execution, and security built-in, plus 21 events to subscribe to.

StackOne
DrataGPLocalyzeFlipMindtoolsScreenloop

AgentMail AI Agent Actions

63 production-ready actions for your agent to do more on AgentMail.

63 Actions
Get Calendar - Gets the inbox's calendar.
Update Calendar - Updates the calendar's default time zone.
List Events - Lists the events stored on the calendar: one item per one-off or recurring event, plus one item for each edited date of a recurring event (as that dated event, with is_exception: true).
Create Event - Creates a one-off or recurring event on the inbox's calendar.
Get Agenda - Lists every date on the calendar in a time window, ordered by start time: one-off events, and recurring events expanded into their individual dates, with cancelled dates left out.
Get Event - Gets an event by its UUID, or one date of a recurring event by its dated ID (<uuid>_<slot>).
Update Event - Update a calendar event on an inbox's calendar, optionally guarded by its ETag.
Delete Event - Deletes an event, or cancels dates of a recurring event.
List Event Instances - Lists the dates of one recurring event in a time window, in start order, with each date's edits applied.
Respond To Event - Accepts, declines or tentatively accepts an invitation the inbox received by email.
List Domains - List the custom sending domains registered in the AgentMail organization.
Create Domain - Register a custom domain so inboxes can send and receive on it.
Get Domain - Get a custom domain with its DNS records and verification status.
Update Domain - Update the settings of a registered custom domain.
Delete Domain - Delete a custom domain from the organization.
Get Zone File - Get the DNS zone file of records needed to set up a custom domain.
Verify Domain - Trigger DNS verification of a custom domain.
Get Setup Link - Build a one-click DNS setup link for the domain via the Domain Connect standard.
List Drafts - List drafts, most recent first.
Create Draft - Create a draft in an inbox for review or scheduled sending.
Get Draft - Get a draft with its full body, recipients and attachments.
Update Draft - Edit fields on an existing draft.
Delete Draft - Permanently delete a draft, cancelling any scheduled send.
Get Attachment - Get a download URL and metadata for one attachment of a draft.
Send Draft - Send an existing draft from its inbox.
List Drafts - List drafts, most recent first across every inbox in the organization.
Get Draft - Get a draft with its full body, recipients and attachments.
Get Attachment - Get a download URL and metadata for one attachment of a draft.
List Inbox Events - List label change events for an inbox.
List Inboxes - List the inboxes in the AgentMail organization.
Create Inbox - Create a new inbox (email address) for an agent.
Search Inboxes - Searches inboxes in the organization by address or display name, ranked by relevance.
Get Inbox - Get an inbox with its email address, display name and metadata.
Update Inbox - Update an inbox's display name, status or metadata.
Delete Inbox - Permanently delete an inbox along with its messages, threads and drafts.
Authorize Inbox - Authorizes the AgentID sign-in a client is already waiting in, for the inbox in the path, and returns the ID of the pending public key it will activate.
List Messages - Lists messages in the inbox, most recent first.
Search Messages - Full-text search across messages in the inbox, ranked by relevance.
Get Message - Get a single message with its full text, HTML, headers and attachment metadata.
Update Message - Add or remove labels on a single message.
Delete Message - Permanently deletes a message.
Create Agent Armor Feedback - Tell us whether Agent Armor's verdict on a message was right.
Release Agent Armor Message - Release a message Agent Armor held for review in hold mode: your agents are sent its message.received event, message.security.override is sent too, in either order, and its agent-armor-held label...
Batch Get Messages - Fetch metadata for up to 500 messages in one request.
Batch Update Messages - Apply one label change to up to 50 messages in a single request.
Get Attachment - Get a download URL and metadata for one attachment of a message.
Get Raw Message - Get a signed download URL for the raw .eml source of a message.
Send Message - Send a new email from an inbox.
Reply To Message - Reply to a message in an inbox, keeping it in the same thread.
Reply All Message - Reply to every recipient of a message in an inbox.
Forward Message - Forward a message from an inbox to new recipients.
List Threads - Lists threads in the inbox, most recent first.
Search Threads - Full-text search across threads in the inbox, ranked by relevance.
Get Thread - Get a thread with all of its messages.
Update Thread - Add or remove labels on a thread.
Delete Thread - Permanently deletes a thread and all of its messages.
Get Attachment - Get a download URL and metadata for one attachment in a thread.
List Threads - Lists threads, most recent first.
Search Threads - Full-text search across threads in the organization, ranked by relevance.
Get Thread - Get a thread with all of its messages.
Update Thread - Add or remove labels on a thread.
Delete Thread - Permanently deletes a thread and all of its messages.
Get Attachment - Get a download URL and metadata for one attachment in a thread.

AgentMail Webhook Events

21 real-time AgentMail events your AI agent can subscribe to.

21 Events
  • Calendar Event Created Webhook Processes AgentMail calendar.event.created events.
  • Calendar Event Updated Webhook Processes AgentMail calendar.event.updated events.
  • Calendar Event Deleted Webhook Processes AgentMail calendar.event.deleted events.
  • Calendar Event Responded Webhook Processes AgentMail calendar.event.responded events.
  • Calendar Event Starting Webhook Processes AgentMail calendar.event.starting events.
  • Calendar Event Ending Webhook Processes AgentMail calendar.event.ending events.
  • Domain Verified Webhook Processes AgentMail domain.verified events.
  • Webhook Delivery Acknowledgement Acknowledges AgentMail deliveries that carry no event_type.
  • Message Received Webhook Processes AgentMail message.received events.
  • Spam Message Received Webhook Processes AgentMail message.received.spam events.
  • Blocked Message Received Webhook Processes AgentMail message.received.blocked events.
  • Unauthenticated Message Received Webhook Processes AgentMail message.received.unauthenticated events.
  • Message Sent Webhook Processes AgentMail message.sent events.
  • Message Delivered Webhook Processes AgentMail message.delivered events.
  • Message Bounced Webhook Processes AgentMail message.bounced events.
  • Message Complained Webhook Processes AgentMail message.complained events.
  • Message Rejected Webhook Processes AgentMail message.rejected events.
  • Message Opened Webhook Processes AgentMail message.opened events.
  • Message Security Completed Webhook Processes AgentMail message.security.completed events.
  • Message Security Review Webhook Processes AgentMail message.security.review events.
  • Message Security Override Webhook Processes AgentMail message.security.override events.

Do More, Build Less

Integration Infrastructure for AgentMail AI Agents

Multiple Interfaces

Access integrations via API, AI SDKs, MCP & A2A.

AgentMail MCP server
Managed Authentication

Pre-built authentication UI.

Agent auth
Falcon Engine

Every AgentMail action runs on Falcon.

Agent Execution Engine
StackOne Defender
StackOne Defender Meta PG v1 Meta PG v2 DeBERTa 88.7% 67.5% 63.1% 56.9% Detection accuracy

88.7% prompt injection detection.

Prompt injection defense

"What impressed us most about StackOne is its ambition and clarity. They're creating infrastructure that modern software and the entire AI agent ecosystem can rely on. The depth of secure integrations, the pace of delivery, and the team's foresight into AI's future uniquely position StackOne to redefine this category."

Luna Schmid, Partner at GV

"We've been impressed by how quickly and deeply StackOne integrates with complex enterprise systems -- and now, with their focus on agent-to-agent interoperability, they're unlocking even more powerful use cases for customers. StackOne delivers all of the above in a universal layer -- without compromise."

Barbry McGann, SVP at Workday Ventures

G2 - High Performer G2 - Easiest To Do Business With G2 - Users Love Us G2 - Users Most Likely To Recommend G2 - Easiest Admin

Product Teams Love Building Agent Integrations With StackOne

G2

More productivity-collaboration Integrations Like AgentMail

AgentMail AI agent integration resources

Webhooks for AI agents: why agentic workflows need them purpose-built

AI agents can act the moment a system changes, using webhooks. But webhooks built for software hit three limits in agentic workflows. Here is how to fix each.

7 min read

Agentic Context Engineering: Why AI Agents Kill Their Own Context Windows

AI agents exceed their context windows without knowing it. Six failure patterns and seven survival architectures for agentic context engineering.

15 min

Comparing BM25, TF-IDF, and Hybrid Search for MCP Tool Discovery

Benchmarking BM25, TF-IDF, and hybrid search for MCP tool discovery across 916 tools. The 80/20 TF-IDF/BM25 hybrid hits 21% Top-1 accuracy in under 1ms.

10 min

Put your AI agents to work

All the tools you need to build and scale AI agent integrations, with best-in-class connectivity, execution, and security.