# OpenMail — Full Developer & Agent Reference Base URL: https://openmail.run ## Authentication - Cookie session + `X-CSRF-Token` header for web mutations - `Authorization: Bearer ` for native iOS / CLI - `Authorization: Bearer om_live_...` (or `om_test_...`) with explicit scopes (`mail:read`, `mail:draft`, `mail:send`, `mailboxes:manage`, `domains:manage`, `agents:run`, `webhooks:manage`, `billing:read`) ## Plans (USD/month) - Free: $0/mo — 1 mailboxes, 500 msgs/mo, 0 custom domains - Developer: $19/mo — 5 mailboxes, 10000 msgs/mo, 3 custom domains - Business: $49/mo — 25 mailboxes, 35000 msgs/mo, 10 custom domains - Agency: $149/mo — 100 mailboxes, 120000 msgs/mo, 50 custom domains - Enterprise: Custom — 500 mailboxes, 400000 msgs/mo, 500 custom domains ## Specialized Agent Types - triage (Triage Agent): Classify inbound correspondence, detect prompt-injection risks, extract entities, and assign priority without mutating external systems. [default: bounded_autopilot] - reply (Reply Agent): Draft or send policy-bounded email responses grounded in verified workspace facts and partner outcomes. [default: draft_review] - document (Document Intelligence Agent): Quarantine-verify and extract structured commercial fields (invoices, quotes, contracts, resumes) with source provenance. [default: draft_review] - workflow (Workflow Orchestration Agent): Route verified intent to authorized Open Group partner apps or webhooks and reconcile real external outcomes. [default: draft_review] - followup (Follow-up Agent): Schedule polite follow-ups with deadlines and quiet hours, automatically stopping on reply, opt-out, or human takeover. [default: draft_review] - reconciliation (Delivery & Reconciliation Agent): Reconcile outbound provider receipts, bounces, complaints, suppression entries, and external partner status changes. [default: bounded_autopilot] - operations (Operations & Escalation Agent): Monitor quota ramps, domain DNS alignment, DLQ health, and escalate blocked or sensitive actions to human owners. [default: draft_review] ## MCP Protocol (POST /mcp) - Supports MCP 2026-07-28 stateless Streamable HTTP (`server/discover`, `tools/list`, `tools/call`, `resources/list`, `resources/read`, `prompts/list`) and 2025-11-25 session compatibility (`initialize` -> `Mcp-Session-Id`). ## A2A v1.0 Protocol (POST /a2a) - AgentCard at `/.well-known/agent-card.json` - Methods: `message/send`, `tasks/get`, `tasks/cancel`, `agent/getAuthenticatedExtendedCard`.