# Mermail Mailbox Email List

> Mermail Mailbox Email List is a paid API for AI agents from console.mermail.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-11).

Lists emails in an AI agent's Mermail mailbox with filtering, sorting, and safety scanning options

## Facts

- Endpoint: GET https://console.mermail.app/api/agent/v1/mailboxes/%7BmailboxId%7D/emails?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/mermail-mailbox-email-list-482858ad
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xt4Lpzf_5Gvz4-1AWOxef

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 mermail-mailbox-email-list-482858ad
```

Example prompt: Check my Mermail inbox for the latest 20 emails in the support folder, sorted by date descending, and only show me ones that have been scanned as clean — just metadata, no body content.

## When to prefer this

Use this endpoint when your AI agent needs to programmatically read, filter, and process incoming emails from a Mermail managed inbox — especially when you need safety scanning (clean/flagged/skipped), agent-safe content formatting, or metadata-only retrieval to protect downstream systems. Prefer this over general email APIs when you need built-in payment-gated access and agent-first design.

## Known failure modes

- Invalid or unknown mailboxId returns 404 or empty result
- Invalid cursor value causes pagination error
- Exceeding limit of 100 per page returns validation error
- Requesting non-existent folder returns empty email list
- Payment not processed (x402) results in 402 Payment Required before data is returned
- Invalid enum value for sortColumn or sortDirection returns 400 error
- Scan status filter with no matching emails returns empty list with totalCount 0

## How this service works

An inbox and wallet for your AI agent. Find and nurture sales leads, resolve customer support, and handle online purchases with controlled payments.

## Output

Returns a paginated list of emails with fields including id, subject, sender, recipient, date, body (if not metadata_only), snippet, thread_id, read status, scan_status, and content_omitted flag, along with a totalCount of matching emails.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "limit": {
       "type": "integer",
       "maximum": 100,
       "minimum": 1
      },
      "cursor": {
       "type": "string"
      },
      "folder": {
       "type": "string"
      },
      "sortColumn": {
       "enum": [
        "id",
        "subject",
        "sender",
        "recipient",
        "date",
        "read",
        "starred"
       ],
       "type": "string"
      },
      "metadata_only": {
       "type": "boolean"
      },
      "sortDirection": {
       "enum": [
        "ASC",
        "DESC"
       ],
       "type": "string"
      },
      "agent_safe_content": {
       "type": "boolean"
      },
      "require_scan_status": {
       "enum": [
        "clean",
        "flagged",
        "skipped"
       ],
       "type": "string"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "emails",
      "totalCount"
     ],
     "properties": {
      "emails": {
       "type": "array",
       "items": {
        "type": "object",
        "required": [
         "id",
         "subject",
         "sender",
         "recipient",
         "date"
        ],
        "properties": {
         "id": {
          "type": "string"
         },
         "body": {
          "type": "string"
         },
         "date": {
          "type": "string",
          "format": "date-time"
         },
         "read": {
          "type": "boolean"
         },
         "sender": {
          "type": "string"
         },
         "snippet": {
          "type": "string"
         },
         "subject": {
          "type": "string"
         },
         "recipient": {
          "type": "string"
         },
         "thread_id": {
          "type": [
      
… (truncated)
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/mermail-mailbox-email-list-482858ad/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from console.mermail.app](https://www.zero.xyz/host/console.mermail.app/llms.txt)
