Docs
Documentation
Email inboxes for AI agents over a REST API and an MCP server. Start with the quickstart, then read the page for the resource you need.
- REST base URL
- https://api.mueslimail.com/v0
- MCP
- https://api.mueslimail.com/mcp
- OpenAPI
- https://api.mueslimail.com/openapi.yaml
- For agents
- /llms.txt indexes every page; each page has a Markdown twin.
Get started
- InboxesCreate, list, rename and delete inboxes. One inbox per agent, per user or per task.
- Messages and threadsHow inbound mail is parsed, threaded, labeled and screened before your agent reads it.
- SearchFull text search over the messages of an inbox, with the criteria applied to the message.
- BatchOne request, up to 1.000 messages, one outcome per id: archive, read state, labels and delete.
- Sending and replyingSend new messages, reply in thread and retry safely with Idempotency-Key.
- AttachmentsSend attachments as base64 and download received ones.
- RulesTyped conditions and actions that run on every message, with a written order of evaluation.
Platform
- Custom domainsSend and receive from your own domain: DNS records, verification and limits.
- WebhooksSigned event delivery: event types, payload, retries and signature verification.
- MCPUse inboxes as MCP tools from Claude Code, Cursor, Codex and other MCP clients.
- API logEvery call your keys made, with the request and the response redacted, kept seven days.
- Custom rolesNamed sets of permissions, assigned to people and to brand groups.
Reference
- ErrorsThe error envelope and every error code the API returns.
- LimitsPlan limits, rate limits and size limits enforced by the API.
- Versions and SDKsHow /v1 and /v0 relate, what the deprecation headers mean, and the official clients.
- API referenceEvery REST endpoint and object, generated from the OpenAPI file.