# Email inboxes for AI agents · cloudmail

> Give every AI agent its own email address on your domain, with a token confined to that mailbox, its own send rules, a recipient allowlist and an expiry.

Canonical: https://trycloudmail.com/features/agent-inboxes
Last updated: 2026-11-24

**An email inbox for every AI agent.** An agent inbox is a real email address for one AI agent, on your own domain. It comes with a token that only reaches that mailbox, its own send rules and an expiry, and one command creates it.

## What an agent inbox comes with

- **Its own address**: agent-…@yourdomain.com, or a name you choose, separate from every person's mailbox.
- **Its own token**: Confined to that one mailbox. Revoke the token that created it and the agent stops too.
- **Its own send mode**: Drafts only, approve every send, or send on its own.
- **A recipient allowlist**: List addresses or domains, and a send to anyone else is refused.
- **An expiry**: Up to 90 days. At expiry the token is revoked and the mail is archived to your R2 bucket.
- **A webhook for new mail**: Optional, created with the inbox and limited to it.

- [Agents and developers overview](https://trycloudmail.com/agents)
- [One licence, any number of agents](https://trycloudmail.com/pricing)
- [Agent inboxes compared with AgentMail](https://trycloudmail.com/compare/agentmail)

## Create one from the command line

```bash
cloudmail agent-inbox create --domain yourdomain.com \
  --purpose 'Invoice triage' --send-mode approve \
  --allow @partner.com --ttl-hours 24

cloudmail agent-inbox list
```

In the docs: [Agent inboxes](https://github.com/cloudmail-hq/cloudmail/blob/main/docs/reference.md#agent-inboxes).

## Questions about agent inboxes

### How is an agent inbox different from giving an agent my login?

The agent gets its own address and a token that only works on that mailbox. It can't read anyone else's mail, and its sends follow that mailbox's rules.

### How do I create an agent inbox?

From Settings → Agent inboxes, with cloudmail agent-inbox create, with the create_agent_inbox MCP tool, or with POST /api/v1/agent-inboxes. Only administrators can create one.

### How many agent inboxes can I have?

As many as you need. The licence is not counted per mailbox or per agent.

### What happens when an agent inbox expires?

Its token is revoked, its webhook is removed, the mail is archived to your R2 bucket as an .mbox file and the mailbox is deleted.

## Related features

- [Send approval](https://trycloudmail.com/features/agent-send-approval) - Sends from agents and API tokens wait until a person approves them.
- [MCP server](https://trycloudmail.com/features/email-mcp-server) - Claude, Cursor and other MCP clients read, draft and send from your mailboxes.
- [API, CLI and SDKs](https://trycloudmail.com/features/email-api) - REST with OpenAPI 3.1, a CLI, TypeScript and Python SDKs, webhooks and live events.

## Related

- [Features](https://trycloudmail.com/features)
- [Pricing](https://trycloudmail.com/pricing)
- [Docs](https://trycloudmail.com/docs)
