# agmail Temporary Email Inbox (4-Hour Plan)

> agmail Temporary Email Inbox (4-Hour Plan) 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).

Provisions a receive-only, temporary email inbox valid for 4 hours for use by AI agents, paid via stablecoin (x402 or MPP).

## Facts

- Endpoint: POST https://agmail.shveik.dev/v1/mpp/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-temporary-email-inbox-4-hour-plan-d12a6364
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TTdj1RNjBuzjf0K9Qo5Ou

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-temporary-email-inbox-4-hour-plan-d12a6364 -d '<json body>'
```

Example prompt: Set up a temporary 4-hour email inbox for my agent with the name 'myagent42' so it can receive incoming messages during this task.

## When to prefer this

Choose this endpoint when your AI agent needs a real, receive-only email address for a short 4-hour window — ideal for catching verification emails, password resets, or confirmations during automated workflows. Prefer it over longer-duration plans when cost matters and the task completes within hours. Use it over generic email APIs when you need pay-per-use stablecoin billing with no account setup.

## Known failure modes

- Invalid name format (does not match ^[a-zA-Z0-9]([a-zA-Z0-9._-]{1,30})[a-zA-Z0-9]$) returns a 400 error
- Name too short (under 3 chars) or too long (over 32 chars) returns validation error
- Payment failure via x402 or MPP returns a 402 Payment Required response
- Name already taken may return a conflict error
- Service unavailable or quota exceeded returns 5xx error

## 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 plan name ('1h' or similar), a secret token for polling or authenticating inbox access, the assigned email address (e.g. acme42@agmail…), the message capacity (e.g. 50), a unique inbox ID, and an expiry timestamp indicating when the inbox will be deactivated.

## 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-temporary-email-inbox-4-hour-plan-d12a6364/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)
