# AgentMail Create Inbox

> AgentMail Create Inbox is a paid API for AI agents from AgentMail at mpp.api.agentmail.to, $2/call, status unknown (last checked 2026-10-10).

Creates a new email inbox for an AI agent within a specified pod, optionally with a custom username, domain, and display name.

## Facts

- Endpoint: POST https://mpp.api.agentmail.to/v0/pods/:pod_id/inboxes?utm_source=zero.xyz
- Price: $2/call
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 3
- Provider: AgentMail
- Docs: https://docs.agentmail.to
- Website: https://agentmail.to
- Tags: email, inboxes, domains, drafts, threads, webhooks, messaging, ai, social
- Canonical page: https://www.zero.xyz/c/agentmail-inboxes-48f7c07a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UcP75Qs5qxeYC0tgGC88X

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agentmail-inboxes-48f7c07a -d '<json body>'
```

Example prompt: Create a new AgentMail inbox in pod 'pod_abc123' with the username 'support-bot' on the agentmail.to domain and display name 'Support Bot'.

## When to prefer this

Use this endpoint when you need to provision a new email inbox for an AI agent within an existing AgentMail pod. It is the right choice for dynamically creating agent-specific email addresses, especially when you need a custom username, a verified custom domain, or a human-readable display name. Prefer this over alternatives when building multi-agent systems that require isolated inboxes per agent or per task.

## Known failure modes

- Invalid or unverified domain — only verified domains are accepted; agentmail.to is the default
- Missing or invalid pod_id path parameter — 404 or 400 error
- Unauthorized request if Bearer token is missing or invalid — 401 error
- Username already taken on the specified domain — conflict error
- Malformed request body — 422 validation error

## How this service works

Create Inbox

## Output

Returns an Inbox object with the new inbox_id, pod_id, optional client_id and display_name, and timestamps for when the inbox was created and last updated. The email address is constructed as username@domain.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "title": "CreateInboxRequest",
 "properties": {
  "domain": {
   "type": "string",
   "description": "Domain of address. Must be verified domain. Defaults to `agentmail.to`."
  },
  "username": {
   "type": "string",
   "description": "Username of address. Randomly generated if not specified."
  },
  "client_id": {
   "type": "string",
   "title": "ClientId",
   "description": "Client ID of inbox."
  },
  "display_name": {
   "type": "string",
   "title": "DisplayName",
   "description": "Display name: `Display Name <username@domain.com>`."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "title": "Inbox",
 "required": [
  "pod_id",
  "inbox_id",
  "updated_at",
  "created_at"
 ],
 "properties": {
  "pod_id": {
   "type": "string",
   "title": "PodId",
   "description": "ID of pod."
  },
  "inbox_id": {
   "type": "string",
   "title": "InboxId",
   "description": "The ID of the inbox."
  },
  "client_id": {
   "type": "string",
   "title": "ClientId",
   "description": "Client ID of inbox."
  },
  "created_at": {
   "type": "string",
   "format": "date-time",
   "description": "Time at which inbox was created."
  },
  "updated_at": {
   "type": "string",
   "format": "date-time",
   "description": "Time at which inbox was last updated."
  },
  "display_name": {
   "type": "string",
   "title": "DisplayName",
   "description": "Display name: `Display Name <username@domain.com>`."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentmail-inboxes-48f7c07a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mpp.api.agentmail.to](https://www.zero.xyz/host/mpp.api.agentmail.to/llms.txt)
