# AgentMail List Pod Drafts

> AgentMail List Pod Drafts is a free API for AI agents from x402.api.agentmail.to, callable via x402, Free, status unknown (last checked 2026-09-14).

Lists all draft emails stored in a specific AgentMail pod (email inbox) for AI agents

## Facts

- Endpoint: GET https://x402.api.agentmail.to/v0/pods/%7Bpod_id%7D/drafts
- Price: Free
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentmail-list-pod-drafts-201e2e11
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lIYC7Ho7_1gUQBTif9F54

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-list-pod-drafts-201e2e11
```

Example prompt: Show me all the draft emails saved in my AgentMail pod with ID 'pod_abc123' so I can review what's been composed but not sent yet.

## When to prefer this

Use this endpoint when an AI agent needs to review, audit, or resume work on unsent email drafts within a specific AgentMail pod before sending or editing them. Prefer this over message listing endpoints when you specifically want drafts, not sent or received messages.

## Known failure modes

- Pod not found (404) if pod_id is invalid or doesn't exist
- Unauthorized (401/403) if the agent lacks access to the specified pod
- Empty list returned if no drafts exist in the pod
- Rate limiting if too many requests are made in a short period

## How this service works

AgentMail gives AI agents real email inboxes. Create, send, receive, and search messages via REST API — built for autonomous agents and agentic workflows.

## Output

Returns a list of draft email objects stored in the specified pod, including draft content, recipients, subjects, and metadata for each unsent message.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "pathParams"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "pod_id"
     ],
     "properties": {
      "pod_id": {
       "type": "string"
      }
     },
     "additionalProperties": false
    },
    "queryParams": {
     "type": "object",
     "properties": {},
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "additionalProperties": true
    }
   },
   "additionalProperties": false
  }
 },
 "additionalProperties": false
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentmail-list-pod-drafts-201e2e11/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.api.agentmail.to](https://www.zero.xyz/host/x402.api.agentmail.to/llms.txt)
