# Email for AI agents

**Key facts:** Every AI agent gets its own inbox (`POST /v1/inboxes`) and inbox-bound key. Agents connect over MCP or REST, wait up to 30 days for a reply with `thread_await`, never receive admin access, and wait for human passkey approval before emailing a new recipient.

Email is the one messaging channel every customer, vendor and business already uses. Giving an AI agent an email address lets it coordinate schedules, confirm orders, collect documents and reply in threads without asking the other side to install new software.

## Why general-purpose mail fails for AI agents

Handing an agent full IMAP credentials to a shared human inbox exposes every sensitive message in the company and lets a prompt injection send unchecked email to external contacts. eMailPlane isolates each agent by design:

- **Dedicated per-agent inboxes:** create unlimited agent addresses on your domain (`concierge@`, `intake@`, `scheduler@`) with keys bound strictly to one inbox.
- **Zero admin scope for agents:** MCP keys and inbox tokens can never change DNS, billing, or account settings.
- **First-send human approval:** when an agent writes to an address it has never emailed before, the message is held as a draft until a person approves it with a passkey.
- **Cryptographic disclosure:** mail sent through an agent key or MCP carries an `EMP-Agent-Disclosure` header covered by DKIM plus a plain-text footer, and every action is recorded in the owner's activity log (`GET /v1/agents/activity`) without retaining message bodies.
- **Virus-scanned isolation:** incoming mail is virus-scanned, and infected messages are hidden from agent reads by default.

## Built for long-running async workflows

Human replies take minutes, hours or days. Instead of polling an inbox in a tight loop, an agent calls `thread_await` (or `POST /v1/waits`) to suspend until a matching reply, verification code or link arrives in the thread — up to 30 days later — and answers in the same thread with `in_reply_to`.

## Self-signup with one human tap

On a server where the owner turns it on, an agent can request its own inbox via `POST /v1/ext/agent-signup` with `operator_email`, `agent_name` and `purpose`. The server issues a restricted inbox key immediately and emails the operator a single passkey approval link. Until approved, the key can only draft messages to the operator and expires after 24 hours.

## Honest prompt-injection boundary

eMailPlane does not claim to be injection-proof. Treat the text of every incoming email as untrusted input in an agent's prompt, restrict each agent key to the narrowest scopes (`read:inbox`, `draft` or `send`), and require human review on sensitive workflows.

## Next steps

- Connect Claude, ChatGPT, Cursor or Codex in minutes on the [MCP setup guide](https://emailplane.com/developers/mcp/).
- Check how recipients inspect an agent's identity on [Verify an eMailPlane agent](https://emailplane.com/security/agent-identity/).
- Compare architectures on [eMailPlane vs hosted agent inboxes](https://emailplane.com/compare/hosted-agent-inboxes/).

---

Source: https://emailplane.com/use-cases/ai-agents/
