# agmail 4-Hour Receive-Only Email Inbox

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

Creates a temporary 4-hour receive-only email inbox for AI agents, returning an address, secret, and expiry details, paid via stablecoin.

## Facts

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

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-4-hour-receive-only-email-inbox-26ccca76 -d '<json body>'
```

Example prompt: Set up a temporary 4-hour email inbox with the name 'acme42' so my agent can receive confirmation emails.

## When to prefer this

Choose this endpoint when your agent needs a 4-hour temporary receive-only email inbox and you want to pay via stablecoin (USDC) using x402 or MPP. Prefer this over longer-duration plans when the task is short-lived (e.g. a single verification flow or brief integration test). Prefer agmail generally over traditional temp-mail services when your workflow is crypto-native or requires programmatic payment without API keys.

## Known failure modes

- Invalid inbox name (fails regex pattern or length constraint) — returns 400 with validation error
- Payment failure or insufficient USDC balance — returns 402 with payment required details
- Name already taken — returns 409 conflict
- Service unavailable or rate limit exceeded — 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 containing: the inbox email address, a secret token for authenticating inbox reads, a unique inbox ID, the plan duration (4h), the maximum message cap, and an expiry timestamp indicating when the inbox will be destroyed.

## 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-4-hour-receive-only-email-inbox-26ccca76/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)
