Skip to content

White paper

What to evaluate, what your team will own and where AgentMail fits

Markdown version for agents
Cover page of Identity and Email for AI Agents: Enterprise Buyer's Guide. What to evaluate, what your team will own and where AgentMail fits

This guide is for engineering and security leaders giving AI agents their own identity and email. It covers the buying decision and the evidence to request. Our companion technical report, Operating identity and email for enterprise AI agents, explains the architecture, operating behavior and implementation tests in detail.

1. Executive Summary


Some enterprise agents now run for weeks at a time and take on work a person used to do. A procurement agent requests quotes, chases invoices and works in the same tools as the procurement team. When an agent like this acts through a borrowed employee login or a shared service account, the systems it touches record a person, or no one in particular, as the actor. The agent needs an identity of its own.

That identity starts with an email address. Your identity provider and the tools the agent uses register and recover accounts against an address, and the suppliers and customers the agent works with still communicate by email. To collect a missing invoice, the agent must send a request, recognize the reply days later, retrieve the relevant history and decide what to do next. Email infrastructure for agents makes that correspondence available to software through addresses, messages and events the application can manage.

That address uses ordinary email, but no person reads its inbox. People use a mail client to follow conversations and decide when to reply; an automated workflow needs software interfaces for those tasks, plus controls on what the agent can read and send. Its address and history must survive individual model calls, worker restarts and handoffs to a person.

At enterprise scale, the buying decision is about who builds and operates that layer: provisioning and retiring the agent's identity, maintaining conversation history, separating customer access and handling delivery failures. A successful send call proves only one part of the workflow.

AgentMail is an email infrastructure service built around programmable inboxes, and each inbox can serve as the agent's identity. Your application creates an inbox through our API, retrieves its messages, threads and attachments, and receives events when new mail or delivery outcomes need attention. The same address is what your identity provider and the agent's tools register its accounts against. We operate the email service and provide scoped access and communication controls. You choose the model and business logic that use it.

This guide follows the decision from implementation through production operations and governance. It maps six controls to the product capabilities and tests that support them: identity, communication rules, prompt-injection screening, permissioning, multi-tenancy and auditability.

AgentMail is built for agents that need an identity of their own, independent inboxes, continuing conversations and tenant-scoped controls, so your team does not assemble and maintain a separate email platform. If your agents only send notifications, or act inside an employee's existing mailbox, a simpler tool may be enough. The rest of this guide helps you tell which case you are in and what to test before you buy.

2. Choose the Architecture for the Workflow


The first architecture choice is where the agent's identity and correspondence will live. Will it work inside an employee's mailbox, hold a long-lived address of its own, or use addresses your application creates for its customers and workflows? That choice determines how you provision access, retain history and keep conversations separate.

The following table compares four ways to supply that email layer. Treat it as a division of engineering and operating work: what each approach is suited to, and what your team must still provide.

ApproachFits WhenCheck What Your Team Still Owns
Human mailbox integrationThe agent acts through an existing person's mailbox.Account lifecycle, consent, access to existing correspondence and agent-specific boundaries.
Google Workspace or Microsoft 365 seat per agentA small number of agents need a mailbox your IT team already manages.Per-seat cost as agents multiply, human-account rules applied to software, and agent activity mixed in with human activity.
Send API, with receiving where supportedThe application mainly sends notifications or can supply its own conversation model.Persistent inboxes, retrievable history, tenant access and incoming-work routing.
Internal buildThe enterprise wants full control and will operate the email layer.Provisioning, parsing, storage, threading, events, access control and continuing delivery operations.
AgentMailAgents need their own long-lived identity, independent addresses and ongoing two-way workflows.Business integration, agent behavior, application recovery and approval policy.

Some send-first providers also receive, parse and store email. Compare how each service handles the complete conversation. With AgentMail, your application can retrieve a thread from an inbox, give a worker access to one customer's resources and configure allow and block lists separately for replies. Test these operations against the workflow you would otherwise assemble.

We use one illustrative example throughout this guide: a long-lived procurement agent with its own address, procurement@yourco.example. It works in the tools its job requires, requests quotes and invoices from approved suppliers, waits for replies and hands exceptions to a person. With AgentMail, the address it sends from is also the resource for retrieving replies and history, and the identity its accounts are registered against. Evaluate that complete workflow, including who can use the inbox and how the agent is retired.

An enterprise with established queues and agent guardrails should count that existing work in its decision. It still needs to handle email formats, conversation history, identity lifecycle and delivery feedback. Those responsibilities continue after the first integration.

Once the workflow fits that model, compare the work left on each side of the integration. The table below shows what each side runs once the integration is live.

AgentMail OperatesYour Team Operates
Inboxes and addresses, threading and parsing, sending reputation, bounce and complaint handling, abuse controls and uptime, plus the deployment, capacity and support commitments agreed during onboarding.Business integration, tenant mapping, durable processing, agent authority and human approval.

Further reading: Reference architecture and responsibilities.

3. Make Implementation Part of the Buying Decision


Returning to the procurement agent, your application creates its inbox once, when the agent is deployed, and your identity provider registers the agent's accounts against that address. The agent emails a supplier about a missing invoice. The supplier replies days later, perhaps after the original worker has stopped. The implementation must let another worker or person find that reply and continue the work under the same identity.

The procurement agent's lifecycle: provision, register accounts, correspond, hand off and retire, all under procurement@yourco.example.
Figure 1. The running example. The agent's address and history persist across workers, people and the accounts registered to it. This is an illustrative application workflow.

Start by deciding who owns that inbox. Your organization is your AgentMail account. Pods are our multi-tenancy model: each pod groups a customer's inboxes and other email resources, with API access scoped to that group. This is a logical partition on shared infrastructure. Within it, an inbox supplies the address for an agent, case, customer, team or session. Your application records which inbox belongs to which agent or case. See What pods isolate.

Once ownership is clear, create the send-and-receive inbox in one API call. Supply a stable creation identifier, client_id, so retrying a request with an uncertain result recovers the same inbox. For sending, the Idempotency-Key header carries a retry identifier, not an access credential. Reusing it with the same request returns the original result without sending again for 24 hours after completion.

When the supplier replies, the next worker retrieves the thread, which groups related messages into a conversation. Reply extraction separates the new answer from quoted history. Attachment-text extraction supports text-based PDFs, Word documents and Excel spreadsheets. Keep originals available, and route missing extraction results to an exception the workflow can recover.

The next question is how workers and people use that conversation. Your application can integrate through REST APIs and SDKs; compatible agent clients can use email tools through MCP. Existing mail clients can participate through IMAP and SMTP. These interfaces reach the email resources, while your application coordinates assignment and approval so a handoff produces one authorized response.

Organization, pod, inbox and threads, with a scoped key granting allowed operations on a pod and inbox.
Figure 2. Choose the owner first, then scope access. Keys, allow and block lists, and event routing can be configured at organization, pod or inbox scope; the diagram shows a pod-based tenant model.

When an agent is retired, first deactivate the accounts registered to its address in your identity provider, as described under Identity in section 4. You can then pause its inbox and revoke its API keys to stop sending and receiving while retaining the address and existing content. Paused inboxes do not queue incoming mail for later delivery, so keep the inbox active during an ordinary worker outage. Before deleting an inbox, move any external sign-in or password-recovery dependencies and plan how required history will remain available.

Further reading: Provisioning and identity lifecycle; Receiving and conversation context; Implementation patterns and acceptance tests. Sources: Create an inbox, Idempotency, Reply and attachment extraction, Pause or resume an inbox.

4. Six Essential Controls for Enterprise AI Agents


Six controls are essential when enterprise agents hold their own identity and act on email: identity, communication rules, prompt-injection screening, permissioning, multi-tenancy and auditability. They govern who the agent is, who it can communicate with, what it may do and how operators investigate the result. Here is how we provide each control, where your application contributes and what to test before rollout.

1. Identity: Does the Agent Have an Identity of Its Own?

Identity controls give an agent accounts of its own, so your systems and operators can tell its activity from a person's. An AgentMail inbox gives each agent a stable address that stays the same when the processes running the agent restart or change. Your identity provider and the tools the agent uses can register its accounts against that address, as they would for a new employee. Activation, verification and password-reset emails for those accounts reach the agent's own inbox, so no employee mailbox sits in the loop. This works with any identity provider that registers users by email address.

The procurement agent has its own accounts in the supplier portal and the procurement system, both registered to procurement@yourco.example. When it changes a record, the log names the agent and not the employee who supervises it. When the agent is retired, an operator deactivates those accounts in the identity provider, then pauses the inbox and revokes its API keys, so reset and recovery emails stop arriving and the agent cannot reactivate its inbox. Delete the inbox only after moving any remaining sign-in or recovery dependencies.

In the pilot, register one account against the agent's address and confirm its activation or reset email reaches the agent's AgentMail inbox. Then retire the agent and confirm it can no longer sign in and that the inbox no longer receives reset emails.

Further reading: Use the inbox as the agent's identity in your stack; Pause, retire and delete deliberately. Source: Inbox lifecycle.

2. Communication Rules: Who Can the Agent Email, and Who Can Email It?

Communication rules decide who can reach the agent, whom the agent can contact and whether a message or event came from the source it claims.

Allow and block lists. AgentMail provides allow lists to restrict communication to specified addresses or domains, and block lists to exclude them. Separate lists govern outgoing recipients, new incoming messages and incoming replies, at organization, pod or inbox scope.

Suppose the agent must collect an invoice from invoicing@acme.example. Restrict its outgoing allow list to that address rather than the entire domain. It can request the invoice from that mailbox, but a send to other@acme.example is denied. Configure the reply allow list separately for the expected response; empty reply lists allow replies by default. Keep authority to change these rules outside the ordinary agent.

Inbound authentication and signed events. We evaluate inbound email authentication; your application can verify our signed webhooks before accepting an event. These are separate checks on the email sender and the delivery channel.

A reply claims to come from invoicing@acme.example but asks the agent to send documents to a new address. We evaluate the sending domain's authentication, and your receiver verifies our webhook signature. Even if both checks pass, your application still needs approval for the new recipient. Mail that fails our inbound policy can be dropped before reaching the inbox; retained unauthenticated mail has separate visibility controls. Test direct and forwarded mail in the pilot.

Further reading: Specify who may communicate; Authenticate the channel without trusting the request. Sources: Lists documentation, Inbound authentication documentation.

3. Prompt-Injection Screening: How Is Hostile Content Handled?

Prompt-injection screening looks for email content that tries to redirect the agent from its assigned task. Agent Armor is our beta screening feature. It evaluates supported subjects and readable bodies and starts in Monitor, an observe-only mode.

An invoice reply might tell the agent to attach every customer's documents to its response. Agent Armor supplies a risk signal, while scoped credentials and recipient rules limit what the worker can do. Under the hold policy, clear verdicts release receive notifications automatically; review verdicts require authorized release. Scanning failure or timeout releases notifications too, so the application must decide how to handle an unavailable verdict. Polling, search and IMAP workers must check scanning and hold status before acting because the hold does not block stored-message access.

Further reading: Agent Armor behavior; Evaluate the control in context. Source: Agent Armor documentation.

4. Permissioning: What May the Agent Do?

Permissioning controls which operations an agent is allowed to perform. AgentMail API keys can be scoped to an organization, pod or inbox, then restricted by operation. This separates access to a resource from authority to act on it.

Give the agent's drafting step a key that can create drafts but not send them. If it tries to send, the API denies the request. A separate approval step, with its own key that can send, sends the reply after review. Configure these permissions explicitly: a key without restrictions has broad access within its scope.

Further reading: Separate resource reach from operation authority. Source: Permissions documentation.

5. Multi-Tenancy: Whose Resources May It Reach?

This control matters when one application runs agents for several customers, such as a platform that gives each client its own agents. Multi-tenancy controls keep one customer's email resources separate from another's within the same application. AgentMail pods isolate application data and API access, scoped credentials, webhooks, events and pod-owned domains on shared infrastructure. A pod key cannot reach another pod's correspondence; an organization key can reach across pods within its permissions. Console administration and several policies remain organization-level.

A platform collecting invoices for two customers can give each its own pod. Customer A's worker uses Customer A's pod key. If a faulty task supplies an inbox ID from Customer B's pod, that key cannot retrieve its correspondence. The diagram below shows this access boundary inside the shared service.

That data boundary is separate from sending reputation and delivery policy. Bounce and complaint suppressions remain organization-wide, so one pod's hard bounce can block that recipient across the organization. Standard hosted sending uses shared IPs; a custom domain establishes a distinct sending-domain identity. We support dedicated IPs for enterprise deployments, with the sending configuration agreed during onboarding.

One organization with Pod A and Pod B, each holding its own tenant data, keys and events, on standard hosted infrastructure.
Figure 3. Tenant-scoped access sits inside a shared operating environment. Pod boundaries isolate application resources; shared policies still affect the workflow.

Further reading: What pods isolate; Verify denied paths. Sources: Pods, Enterprise options.

6. Auditability: Can an Operator Reconstruct the Outcome?

Auditability lets an operator reconstruct what an agent did, why it acted and what followed, for an incident review or a postmortem. AgentMail keeps the email side of that record. Each message and thread has an ID, with timestamps and delivery events, and label changes and applicable Agent Armor release records are kept alongside them. Your application stores those message and thread IDs next to its own records of worker attempts, approvals and business actions, so the same ID finds both the email and the decision it led to.

Because the agent acts through accounts registered to its own address, its actions are attributable to the agent and not to the person who owns it. When reconstructing what it did, pair the email evidence with your identity provider's records for those accounts.

Suppose a supplier receives a reminder after already sending the invoice. In the postmortem, an operator looks up the supplier's reply and the reminder by their message IDs, compares timestamps and delivery events, then follows the same IDs into the worker records. If the reply arrived before the reminder was queued, the worker missed it. If the reminder was queued first, an old job ran late. Administrative audit logs are a separate requirement: establish which key, policy and access changes you can retrieve, and whether they meet any immutable-log requirement.

Further reading: Build a trace from correspondence to action; Scope administrative audit requirements separately.

Give the pilot worker only its required resources, operations and correspondents. Retain evidence of one permitted task and one denied action at each boundary.

5. Scale the Workflow and Recover from Failure


Scalability means keeping work moving as you deploy more agents and as inboxes and traffic grow. In the procurement example, you might run one agent per business unit, and many suppliers may reply just before quarter-end. AgentMail provides event delivery, retry support and configurable sending controls; your application needs to absorb the burst and recover work interrupted after delivery.

Start with the handoff from email to processing. When a reply arrives, AgentMail can notify your application through a webhook. Verify and persist the event before acknowledging it, then let a separate worker process it. Delivery retries and event identifiers help recover failed handoffs and recognize duplicates. After acknowledgment, your application tracks unfinished work and recovers a failed worker.

AgentMail receives an email, your receiver verifies and persists it and acknowledges delivery, then your worker processes or recovers the work toward a business outcome.
Figure 4. Acknowledgment ends the delivery handoff, not the business workflow. Worker recovery needs its own durable record.

That durable handoff lets your application queue a burst while workers process at a sustainable rate. Size those workers against two different limits: API request limits govern calls to the service, and sending allowances govern email volume. Extra keys do not create independent capacity. Available pod and inbox send caps constrain workloads within organization capacity. Retry according to the applicable limit and define what operators do when an allowance is exhausted.

The agent's next message must also reach its recipient. We operate sending infrastructure, support domain setup, process delivery feedback, enforce suppressions and investigate delivery issues and abuse. Your team selects legitimate recipients, makes DNS changes and decides what the case needs after a delivery failure.

As volume grows, tell real demand apart from abuse or an agent stuck in a sending loop. Use scoped keys, communication rules, send caps and monitoring, and make sure an operator can stop and restart the affected work. Suppressions are organization-wide, so a bounce or complaint in one pod also blocks that recipient for other pods. A long-lived agent can loop for days before anyone notices, so give it send caps and alerts as you would any always-on service.

Test this complete path under bursts and backlog recovery, measuring case completion separately from recipient-server delivery. Use our published sending allowances and service status history to prepare the capacity review. Enterprise plans include an SLA and a Slack support channel. Sending and storage allowances can be customized. Agree peak demand, SLA coverage, support response and recovery commitments for your deployment; a published limit is not a throughput benchmark.

Further reading: Reliability and scale; Deliverability and abuse containment.

6. Match Data Requirements to the Deployment


A supplier's reply to the procurement agent may contain bank details or contract terms. It can pass through email storage, an event-delivery service, your worker and a model provider. Follow those copies when choosing a deployment. Establish which data must stay in a region or cloud account, who can access it and how long it may remain available.

We offer managed hosting, EU hosting for enterprise organizations and bring-your-own-cloud (BYOC) deployment through AgentMail Outposts. With BYOC, sending, receiving, message storage and search run in your AWS account. AgentMail Cloud continues account administration, authentication, permissions and product management. We maintain the software; your enterprise governs its cloud environment.

For EU hosting, agree which data and supporting processing activities the regional commitment covers. EU hosting runs in a separate environment in Frankfurt. Our Data Processing Addendum covers EU, UK and Swiss transfers through the Standard Contractual Clauses, and commits us not to use customer personal data to train AI models. Check the subprocessors, and the models or systems your application connects, against the same requirements.

We encrypt data in transit and at rest. Neither AgentMail nor our AI providers use customer email content to train or fine-tune AI models. This commitment applies to all customers. You can delete messages through our API. Discuss retention and deletion requirements with our enterprise team during scoping. Optional 24-hour message expiry limits access to older messages; access expiry is separate from deletion.

Also decide who may administer the service. Enterprise console access supports OIDC/SAML single sign-on, so your team can use its identity provider for console login. Review these human administrators separately from the scoped API credentials issued to agents.

Request the security evidence for those requirements before approval. We are SOC 2 Type 2 compliant; customers and prospects can request our report and security policies through the Trust Center, subject to approval. Check the evidence against the deployment being purchased.

Further reading: Data handling and deployment. Sources: Enterprise offering, Privacy Notice, Message expiry.

7. Your Evaluation Checklist


For each item, record the provider's answer, the supporting evidence and a pilot result. Use this shortlist to identify consequential gaps before a deeper technical review.

  • Can each agent hold its own address that your identity provider registers accounts against, separate from any employee's mailbox?
  • When an agent is retired, can you deactivate its accounts and stop recovery emails reaching its address?
  • Can the application provision an inbox and recover a failed onboarding attempt without creating duplicates?
  • Does the service preserve the conversations and attachments the workflow needs?
  • Can the integration recover interrupted processing without duplicate sends or business actions?
  • Are customer data, search and events constrained to the intended tenant?
  • Can credentials separate reading, drafting, sending and administration?
  • Can new incoming mail, replies and outgoing recipients have distinct communication rules?
  • Can the application verify events and control access to unauthenticated content?
  • What is screened for prompt injection, and what happens on uncertainty or failure?
  • Which request limits, sending allowances and shared policies apply to this workload?
  • Who manages delivery failures, suppressions and abusive or runaway sending?
  • Can an operator reconstruct correspondence, approval and outcome, including required administrative evidence?
  • Does the deployment meet data-location, regional feature availability, retention, deletion and security-review requirements?
  • Can people take over, and can the team migrate or exit with the history it needs?
  • Which support, restoration and compatibility commitments apply to the production workflow?

For the full 66-question implementation checklist, see Appendix A of our technical report, Operating identity and email for enterprise AI agents. A yes from a provider counts once you have seen it work for your use case.

8. Prove the Fit and Get Started


Choose one workflow that represents the traffic, data and exceptions you expect, and define success before you start. For the procurement agent, that may mean collecting supplier invoices before quarter-end with fewer manual follow-ups.

Provision the agent's address and register one account for it, run the worker with restricted credentials on representative mail, and hand an exception to a person. Then interrupt the receiver and worker, attempt a disallowed action, and finish by retiring the agent and confirming it can no longer sign in. Expand only when your team can explain each failure path and has compared the work of integrating AgentMail with the work of building and running the same pieces yourselves.

Talk to Our Team

Email binoy@agentmail.cc to book time with our enterprise team, and bring your workflow, traffic profile and data requirements. For the architecture and implementation detail behind this guide, read our technical report, Operating identity and email for enterprise AI agents.

About AgentMail

AgentMail is an email and identity infrastructure company for AI agents, based in San Francisco. Agents use AgentMail inboxes to send, receive and act on email, and the same address serves as the agent's identity in the systems it works in. AgentMail is SOC 2 Type II compliant and is backed by General Catalyst, Y Combinator, Paul Graham and Dharmesh Shah.

All reports