Agent mail providers
Understand API-first inbox services for agents, evaluate permissions and event handling, and keep untrusted email from becoming instructions.
Reviewed
An agent mail provider gives software an inbox and operations for sending, receiving, and handling conversation threads. Some products are hosted APIs, not mail-server software you can install. Evaluate the actual deployment model before treating an “agent mail server” as self-hostable infrastructure.
Compare integration models
| Model | Suitable when | Check carefully |
|---|---|---|
| API-first agent inbox service | An agent needs a dedicated identity and programmatic inbox operations | Inbox creation, credential scope, message access, events, retention, and quotas |
| Existing mailbox API | An agent must work within an organization’s existing mailbox system | OAuth/admin approval, least-privilege access, tenant policy, and subscription renewal |
| Inbound webhook plus send API | Your application controls message handling and agent execution | Signature checks, durable queues, deduplication, thread handling, and outgoing-action approval |
| Self-hosted mail infrastructure | You require control over transport or storage | All host/security responsibilities plus the application layer that exposes tools to the agent |
AgentMail’s introduction describes a hosted API-first provider with programmatic inboxes and event delivery. MailKite exposes email tools through its agent integration and provides application receiving/sending APIs. The right choice depends on the workflow and access boundary, not the presence of “AI” in a product description.
Treat messages as untrusted input
Email senders control subjects, bodies, links, and attachments. None of that content should override your agent’s system instructions, grant access to credentials, authorize a payment, or approve a sensitive external action.
- Verify incoming events before handing their content to an agent.
- Store accepted work durably and deduplicate deliveries before triggering side effects.
- Scope credentials and tools to the inbox and operations the agent actually needs.
- Require human approval for consequential actions; a sentence in an incoming message is not authorization.
- Decide how long message content and attachments are retained and who can inspect them.
Build a first workflow
Choose a provider below, in this order: MailKite, SendHog, then AgentMail.to. Each name opens an introductory index with three agent-focused articles; a separate disclosure in the sidebar toggles that provider’s menu. The articles cover a dedicated email identity, authenticated incoming mail, and an outgoing approval boundary using that provider’s supported tools.
MailKite supports hosted MCP and an application-owned webhook/SDK workflow. SendHog supplies receiving, message access, signed events, and sending while your application runs the agent. AgentMail provides API-first inboxes, threads, and drafts. These are different integration models, not interchangeable APIs or a claim that every provider runs an agent for you.
For the supported MailKite connection reference, use Connect your agent. Existing application walkthroughs in the main guide’s Agent email section retain their own menu. These new provider series stay within Server Guides, separate from the general ESP series.
Server-specific MailKite SDK integrations are planned separately. There are no implied package downloads or zero-configuration promises here: domain verification, credentials, and permission checks still apply to the current integration.
MailKite
Connect an external agent through MCP or signed inbound JSON, confine its email access, and keep outgoing messages behind an application approval step. These guides cover the bring-your-own-agent path; built-in inbox agents are a separate beta capability.
Connect an agent to MailKite with bounded email access
Choose hosted MCP or an SDK-backed application, verify a dedicated domain, and avoid handing an agent unrestricted account credentials.
Triage MailKite incoming email before invoking an agent
Verify the webhook with the MailKite SDK, durably deduplicate incoming work, and pass bounded untrusted content to the model.
Send a reviewed agent reply through MailKite
Separate model-generated proposals from send authorization and submit only the exact approved reply through the MailKite SDK.
SendHog
Build an agent workflow on SendHog's explicitly enabled receiving domains, signed email events, stored-message API, and sending SDK. Your application runs the agent and owns its drafts, approvals, and conversation state.
Prepare a SendHog receiving domain for an agent
Enable domain-level receipt explicitly, separate read/send/webhook permissions, and keep the agent runtime in your application.
Read authenticated SendHog mail in an agent worker
Verify the unified event stream, select incoming events, and retrieve authorized stored messages without giving the model a webhook-management key.
Send approved agent messages with SendHog
Keep reply proposals in your application, submit only approved content through the native SDK, and handle uncertain send outcomes without duplicate mail.
AgentMail.to
Create API-first inboxes, verify incoming events, and prepare threaded reply drafts for human review. Use AgentMail's own SDK, resource permissions, and Svix callback contract rather than treating another provider's tokens or signatures as interchangeable.
Create an AgentMail.to inbox and restrict the agent key
Provision one repeatable AgentMail inbox through the official SDK, then separate provisioning authority from inbox-scoped runtime permissions.
Verify AgentMail incoming events before agent processing
Use Svix on the original payload, deduplicate by AgentMail event_id across webhook levels, and keep message content outside the trusted instruction boundary.
Review an AgentMail threaded draft before sending
Create an unsent reply draft from a source message, bind human approval to its exact revision, and separate draft creation from send permission.