Mermail Agent API

The Agent API from Mermail — 13 operation(s) for agent.

GitHub OpenAPI

Operations 15

POST /api/agent/v1/mailboxes Create a hosted agent inbox #
GET /api/agent/v1/mailboxes List wallet-bound inboxes #
GET /api/agent/v1/mailboxes/{mailboxId} Get a wallet-bound inbox #
GET /api/agent/v1/mailboxes/{mailboxId}/emails List inbox messages #
POST /api/agent/v1/mailboxes/{mailboxId}/emails Send an email #
GET /api/agent/v1/mailboxes/{mailboxId}/emails/{emailId} Get a message #
GET /api/agent/v1/mailboxes/{mailboxId}/emails/{emailId}/context Get safe message context #
GET /api/agent/v1/mailboxes/{mailboxId}/search Search inbox messages #
GET /api/agent/v1/mailboxes/{mailboxId}/threads/{threadId} Get a message thread #
GET /api/agent/v1/mailboxes/{mailboxId}/attachments/{attachmentId} Download an attachment #
GET /api/agent/v1/mailboxes/{mailboxId}/folders List inbox folders #
GET /api/agent/v1/mailboxes/{mailboxId}/custom-labels List custom labels #
POST /api/agent/v1/mailboxes/{mailboxId}/emails/{emailId}/reply Reply to an email #
POST /api/agent/v1/mailboxes/{mailboxId}/emails/{emailId}/forward Forward an email #
POST /api/agent/v1/mailboxes/{mailboxId}/drafts Save a draft #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/mermail-app:mermail-app-agent-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

mermail-app-agent-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Mermail Marketplace Agent API
  version: 0.0.0
  description: Keyless wallet-bound inbox API. Payment is the credential. Unpaid GET /api and /api/agent/v1 routes return 402.
  contact:
    name: Mermail
    email: contact@mermail.app
    url: https://mermail.app
  x-guidance: 'Mermail is an agent mailbox API. Keyless wallet inbox: unpaid GET /api and /api/agent/v1 routes return 402; payment is the credential. GET /api is a $0 identity handshake and returns agent_api_base_url. POST /api/agent/v1/mailboxes creates a new hosted inbox ($2 in an accepted token). Reads and drafts are $0 handshakes. send/reply/forward are $0.01. Celo USDC/USDT when enabled; the live 402 challenge is authoritative. Paid writes also accept MPP via Payment-Authorization when enabled. Hosted addresses only. Require scan_status=clean before using body content. After an uncertain paid call, replay the same payment credential, body and Idempotency-Key. Existing workspace API at /api/v1 still uses x-api-key.'
servers:
- url: https://console.mermail.app
tags:


# --- truncated at 32 KB (70 KB total) ---
# Full source: https://artifacts.apis.io/mermail-app/openapi/mermail-app-agent-api-openapi.yml