# agmail 24-Hour Receive-Only Email Inbox

> agmail 24-Hour Receive-Only Email Inbox is a paid API for AI agents from agmail.shveik.dev, paid per call via x402, $0.1/call, status unknown (last checked 2026-10-10).

Provisions a temporary 24-hour receive-only email inbox for an AI agent, returning the inbox address, secret, and expiry details, paid via x402 stablecoin.

## Facts

- Endpoint: POST https://agmail.shveik.dev/v1/x402/inbox-24h?utm_source=zero.xyz
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agmail-24-hour-receive-only-email-inbox-68d419c0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_V4uskpvjmnHJlgrefOmms

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 agmail-24-hour-receive-only-email-inbox-68d419c0 -d '<json body>'
```

Example prompt: Create a 24-hour temporary email inbox named 'acme42' for my agent so it can receive emails — I want the inbox address, secret, and when it expires.

## When to prefer this

Choose this endpoint when an AI agent needs a temporary, receive-only email inbox lasting 24 hours and you want to pay with stablecoins (USDC via x402 or MPP) with a single API call. Prefer this over full email-service integrations when you don't need sending capability, don't want to manage persistent inboxes, and want a crypto-native payment flow with no credit card or OAuth setup.

## Known failure modes

- Invalid name format (must match ^[a-zA-Z0-9]([a-zA-Z0-9._-]{1,30})[a-zA-Z0-9]$) — returns 400 validation error
- Name already taken — may return 409 conflict
- Insufficient stablecoin balance or failed x402 payment — returns 402 Payment Required
- Name too short (< 3 chars) or too long (> 32 chars) — returns 400
- Service unavailable or rate-limited — returns 503 or 429

## How this service works

Receive-only email inboxes for AI agents, by the hour. Pay in stablecoins with x402 or MPP; one call returns the code or the link.

## Output

Returns a JSON object with: the plan duration (e.g. '24h'), a secret token for authenticating inbox access, the provisioned email address (e.g. acme42@agmail…), a message cap (max emails receivable), a unique inbox_id, and an ISO 8601 expiry timestamp.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "name": {
   "type": "string",
   "pattern": "^[a-zA-Z0-9]([a-zA-Z0-9._-]{1,30})[a-zA-Z0-9]$",
   "maxLength": 32,
   "minLength": 3
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "plan": "1h",
  "secret": "agm_01234567…",
  "address": "acme42@agmai…",
  "msg_cap": 50,
  "inbox_id": "ib_012345678…",
  "expires_at": "2026-10-06T1…"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agmail-24-hour-receive-only-email-inbox-68d419c0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agmail.shveik.dev](https://www.zero.xyz/host/agmail.shveik.dev/llms.txt)
