# Mermail Mailbox Folders List

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

Retrieves the list of folders (e.g. Inbox, Sent, Spam) available within a specific Mermail mailbox for an AI agent.

## Facts

- Endpoint: GET https://console.mermail.app/api/agent/v1/mailboxes/%7BmailboxId%7D/folders?utm_source=zero.xyz
- Price: price unknown
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/mermail-mailbox-folders-list-e99febff
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1EJc__voNV-Msei572Jmv

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-folders-list-e99febff
```

Example prompt: Can you show me all the folders available in my Mermail mailbox so I can see where my agent's emails are organized?

## When to prefer this

Use this endpoint when an AI agent needs to discover or enumerate the folder structure of a Mermail mailbox before reading, sorting, or routing messages. It is the appropriate first call before fetching messages from a specific folder.

## Known failure modes

- Invalid or non-existent mailboxId returns an error or empty result
- Authentication failure if the agent lacks credentials for the mailbox
- Network timeout if the Mermail API is unavailable
- Malformed mailboxId path parameter causes a 400-style error

## 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 JSON array of folder objects, each containing an 'id' (e.g. 'inbox') and a 'name' (e.g. 'Inbox') representing the folders available within the specified mailbox.

## 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",
     "additionalProperties": {
      "type": "string"
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "array",
     "items": {
      "type": "object",
      "properties": {
       "id": {
        "type": "string"
       },
       "name": {
        "type": "string"
       }
      },
      "additionalProperties": true
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": [
  {
   "id": "inbox",
   "name": "Inbox"
  }
 ]
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/mermail-mailbox-folders-list-e99febff/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)
