# AgentMail Inbox Creation via x402.orthogonal.com

> AgentMail Inbox Creation via x402.orthogonal.com is a paid API for AI agents from x402.orthogonal.com, paid per call via x402, $2/call, status unknown (last checked 2026-09-15).

Creates a new email inbox for an AI agent, returning a unique inbox_id email address (e.g., myagent@agentmail.to) for subsequent email operations.

## Facts

- Endpoint: POST https://x402.orthogonal.com/agentmail/v0/inboxes
- Price: $2/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentmail-inbox-creation-via-x402-orthogonal-com-bd84d1d9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_StMqei9VbhierCC7oAoPC

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-inbox-creation-via-x402-orthogonal-com-bd84d1d9 -d '<json body>'
```

Example prompt: Create a new AgentMail email inbox with the username 'supportbot' and display name 'Support Bot' so my agent can start receiving emails.

## When to prefer this

Use this endpoint when an AI agent needs a real, addressable email inbox to send or receive messages as part of an automated workflow. It is especially suited for agents that need persistent email identities, customer-facing communication inboxes, or ephemeral addresses for task-scoped interactions. Prefer this over generic email APIs when you need agent-native inbox lifecycle management with automatic cleanup.

## Known failure modes

- Invalid or unverified custom domain — only verified custom domains are accepted; defaults to agentmail.to if omitted
- Username collision — if a requested username already exists, the request may fail or return an error
- Payment failure — the $2 USDC charge via x402 may fail if the wallet lacks sufficient funds
- Malformed input — invalid characters in username or display_name may cause a 400 error
- Inactivity deletion — inbox is silently deleted if no API activity occurs for 30+ days

## How this service works

Create a new email inbox. Inboxes cost $2/month. Inboxes with no API activity for 30+ days are automatically deleted. Any request using the inbox resets the inactivity timer. Returns an inbox_id in email format (e.g., myagent@agentmail.to) used for all subsequent operations. If username is omitted, a random one is generated.

## Output

Returns an inbox_id in email format (e.g., myagent@agentmail.to) that serves as the identifier for all subsequent inbox operations such as reading, sending, or deleting emails. The inbox is active immediately and auto-deletes after 30 days of inactivity.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "domain": {
   "type": "string",
   "description": "Email domain. Must be a verified custom domain. Defaults to agentmail.to."
  },
  "username": {
   "type": "string",
   "description": "Local part of the email address (e.g., myagent becomes myagent@agentmail.to). Randomly generated if omitted."
  },
  "client_id": {
   "type": "string",
   "description": "Your own identifier to associate with this inbox."
  },
  "display_name": {
   "type": "string",
   "description": "Human-readable name shown in the From header (e.g., My Agent <myagent@agentmail.to>)."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentmail-inbox-creation-via-x402-orthogonal-com-bd84d1d9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.orthogonal.com](https://www.zero.xyz/host/x402.orthogonal.com/llms.txt)
