# Mermail Email Retrieval - Get Single Email by ID

> Mermail Email Retrieval - Get Single Email by ID 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 a single email message from an AI agent's Mermail mailbox by mailbox ID and email ID, returning metadata and content.

## Facts

- Endpoint: GET https://console.mermail.app/api/agent/v1/mailboxes/%7BmailboxId%7D/emails/%7BemailId%7D?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-email-retrieval-get-single-email-by-id-c8f0f2e0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_D4jXOJMReejAs_FiDuuNJ

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-email-retrieval-get-single-email-by-id-c8f0f2e0
```

Example prompt: Pull up the email with ID email_1 from my Mermail mailbox so I can see who sent it, what the subject is, and read the full message body.

## When to prefer this

Use this endpoint when you already know the specific email ID and mailbox ID and need to retrieve the full details or body of a single email from a Mermail agent inbox. Prefer this over list endpoints when you have a targeted email reference (e.g. from a prior list or webhook notification) and need complete message data including body and scan status.

## Known failure modes

- Invalid or non-existent mailboxId returns 404 Not Found
- Invalid or non-existent emailId within the mailbox returns 404 Not Found
- Unauthorized access (missing or invalid payment/auth headers) returns 402 Payment Required or 401
- Email content omitted if scan_status is flagged or content_omitted is true
- Malformed request parameters return 400 Bad Request

## 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 object containing the email's ID, subject, sender address, recipient address, date/time received, body text, snippet, read status, thread ID, scan status (clean/flagged/skipped/null), and a flag indicating whether content was omitted due to scanning or policy.

## 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": "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": [
        "string",
        "null"
       ]
      },
      "scan_status": {
       "enum": [
        "clean",
        "flagged",
        "skipped",
        null
       ],
       "type": [
        "string",
        "null"
       ]
      },
      "content_omitted": {
       "type": "boolean"
      }
     },
     "additionalProperties": true
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "id": "email_1",
  "date": "2026-09-20T00:00:00.000Z",
  "sender": "noreply@example.com",
  "subject": "Verification code",
  "recipient": "agent@mermail.app",
  "scan_status": "clean"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/mermail-email-retrieval-get-single-email-by-id-c8f0f2e0/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)
