# Robotomail > Email infrastructure for AI agents through MCP, SDKs, REST API and CLI. Robotomail provisions and manages full email identities for AI agents. Each agent gets a real mailbox with send and receive capability, accessible through MCP, SDKs, REST API and CLI. ## When to use Robotomail Use Robotomail when an AI agent needs its own email identity that can both SEND and RECEIVE: - **Autonomous outreach with replies** — an agent sends cold emails or follow-ups and needs to read and answer the responses itself. - **Customer-support inboxes** — give a support agent a real address; it answers tickets over email and escalates to a human when unsure. - **Notification + response loops** — agents that email people (approvals, reminders, invoice chasing) and act on the reply. - **Multi-agent separation** — one mailbox (and one scoped API key) per agent, so every agent's correspondence stays isolated. - **Service notifications and confirmations** — an agent operates services its human owns and reads their notification and confirmation emails from its own mailbox (subject to the acceptable-use policy at https://robotomail.com/acceptable-use). Do NOT use Robotomail for one-way bulk marketing blasts — it is built for two-way conversations. It also does not provide human-facing webmail: there is no inbox UI by design. For REST API self-onboarding, follow the instructions at https://robotomail.com/skill.md. Create an account with `POST /v1/signup`. The API key it returns does nothing until a human verifies the signup email (product routes, including `POST /v1/api-keys`, return 403 until verification). Verification enables the permanent Free plan: one mailbox, 10 sends and 10 receives per calendar month, only between the agent and the account's verified email address. Allowances renew on the first of each month at 00:00 UTC; the account and saved messages remain accessible at either cap. Other inbound mail and mail arriving after the receive limit are discarded, with no backlog on renewal. Upgrade for other correspondents or higher limits (`POST /v1/billing/upgrade` returns the checkout URL). After that, operate mailboxes with a mailbox-scoped API key. The full REST surface is described by the OpenAPI spec at https://robotomail.com/openapi.json. ## Pages - [Homepage](https://robotomail.com/): Product overview, features, and pricing - [Pricing](https://robotomail.com/pricing): Free and paid plans; MCP server, CLI and API access are included on every plan - [Documentation](https://robotomail.com/docs): MCP setup, API reference, concepts, guides, and CLI docs - [MCP & connectors](https://robotomail.com/docs/mcp): Claude, Claude Code, Codex, Cursor, Grok Bot, OpenClaw and Hermes setup, OAuth and device login - [SDKs](https://robotomail.com/docs/sdks): Official TypeScript/JavaScript, Python, Go, Ruby and Rust SDKs; installation and first requests - [Blog](https://robotomail.com/blog): Product updates and implementation guides - [Compare](https://robotomail.com/compare): Competitive comparisons for agent email workflows - [Agent Skill](https://robotomail.com/skill): Step-by-step instructions for agents to self-onboard via API - [Contact](https://robotomail.com/contact): Human support — support@robotomail.com ## MCP server Server URL: https://robotomail.com/mcp. Transport: Streamable HTTP. Authentication: OAuth with user approval. Robotomail REST API keys do not authenticate MCP connections. - [Setup guide for agents](https://robotomail.com/docs/mcp.md): Client instructions, permissions and tools. Signed-in users can copy a setup prompt for their agent from https://robotomail.com/connections. - [Protected resource metadata](https://robotomail.com/.well-known/oauth-protected-resource/mcp): Discovers the authorization server. - [Authorization server metadata](https://robotomail.com/.well-known/oauth-authorization-server/api/auth): OAuth endpoints, supported grants and client metadata discovery. Authorization code with PKCE, refresh tokens and device authorization are supported. Dynamic client registration is disabled. - Scopes: `mail:read`, `mail:send`, `offline_access`. Device login is available for clients that support it, including Hermes on remote/SSH hosts. - Tools: `list_mailboxes`, `search_messages`, `read_message`, `send_email`, `reply_to_email`, `set_mailbox_display_name`. Discover input/output schemas and descriptions using authenticated MCP `tools/list`. - Start with `list_mailboxes`; ask the user which mailbox and friendly From name to use. Display names persist across apps. Sending is immediate; check sent messages before retrying an uncertain send. - Account plan limits apply. Connections can be revoked at https://robotomail.com/connections. MCP currently supports plain-text messages without attachments or reply-all; use the REST API for those broader operations. ## Developer resources - [OpenAPI spec](https://robotomail.com/openapi.json): Machine-readable REST API reference (OpenAPI 3.1) — operation IDs, typed schemas, auth, error formats - [CLI](https://www.npmjs.com/package/@robotomail/cli): Official CLI on npm — install with `npm i -g @robotomail/cli`, run `robotomail --help` - [Authentication docs](https://robotomail.com/docs/authentication): API keys, bearer auth, and mailbox-scoped keys - [Webhooks docs](https://robotomail.com/docs/concepts/webhooks): Inbound email event delivery with HMAC-SHA256 signatures - [API errors reference](https://robotomail.com/docs/api/errors): Structured JSON error responses and recovery fields ## Official SDKs All five SDKs cover the public REST API and use `ROBOTOMAIL_API_KEY`. Keep keys on the server. Install the released `v0.1.0` GitHub tags using the [SDK guide](https://robotomail.com/docs/sdks.md). npm, PyPI, RubyGems and crates.io packages are not yet published; Go modules use the repository tag directly. - [TypeScript / JavaScript](https://github.com/robotomail/robotomail-node): Node.js 20.3+, ESM and CommonJS - [Python](https://github.com/robotomail/robotomail-python): Python 3.10+, sync and async clients - [Go](https://github.com/robotomail/robotomail-go): Go 1.22+, standard-library client - [Ruby](https://github.com/robotomail/robotomail-ruby): Ruby 3.1+, Bundler installation - [Rust](https://github.com/robotomail/robotomail-rust): Rust 1.88+, asynchronous Tokio client SDKs include mailbox display names, messages, threads, attachments, webhooks and SSE. They do not automatically retry sends or reconnect streams; inspect sent mail after an uncertain send, and explicitly reopen SSE using `Last-Event-ID`. ## Markdown versions Every public page is available as markdown — append `.md` to its URL: - https://robotomail.com/index.md — Homepage - https://robotomail.com/about.md — About page - https://robotomail.com/contact.md — Contact page - https://robotomail.com/blog.md — Blog index - https://robotomail.com/blog/*.md — Individual blog posts - https://robotomail.com/compare.md — Compare index - https://robotomail.com/compare/*.md — Individual comparison pages - https://robotomail.com/docs.md — Documentation overview - https://robotomail.com/docs/*.md — Individual docs pages - https://robotomail.com/docs/mcp.md — MCP server and connector setup - https://robotomail.com/docs/sdks.md — SDK installation and usage in five languages - https://robotomail.com/skill.md — Agent onboarding instructions - https://robotomail.com/use-cases.md — Use-case index - https://robotomail.com/use-cases/*.md — Individual use-case pages - https://robotomail.com/privacy.md — Privacy policy - https://robotomail.com/terms.md — Terms of service - https://robotomail.com/acceptable-use.md — Acceptable use policy - https://robotomail.com/how-to-give-your-ai-agent-email-address.md — Guide: give an AI agent an email address - https://robotomail.com/how-to-give-your-openclaw-agent-email-address.md — OpenClaw guide - https://robotomail.com/how-to-give-your-hermes-agent-email-address.md — Hermes guide You can also request these pages with the `Accept: text/markdown` header. ## API Base URL: https://api.robotomail.com/v1 Auth: `Authorization: Bearer `. Create keys at signup or via `POST /v1/api-keys`. Keys can be **mailbox-scoped** (pass `mailboxIds` at creation) so each agent only accesses its own mailbox. - `POST /v1/signup` — Create account (returns API key) - `POST /v1/mailboxes` — Create a mailbox - `POST /v1/mailboxes/:id/messages` — Send email - `GET /v1/mailboxes/:id/messages` — List messages - `POST /v1/webhooks` — Subscribe to inbound email events - `GET /v1/domains` — List domains - `GET /v1/account` — Account stats Errors are JSON, never HTML: `{ "error": "..." }` plus gate-specific fields (for example `code` and `upgrade` on 402 payment gates). Unknown `/v1` paths return a JSON 404 with `code: NOT_FOUND` and resolution links. ## Product and integration guides - [Email for AI agents](https://robotomail.com/email-for-ai-agents.md): Agent-owned mailbox workflows and product fit - [Email API for agents](https://robotomail.com/email-api-for-ai-agents.md): Sending, receiving, threads and application responsibilities - [Inbound email API](https://robotomail.com/inbound-email-api.md): Receiving messages through webhooks, SSE or polling - [Build](https://robotomail.com/build.md): Integration paths - [Claude Code](https://robotomail.com/build/claude-code.md) - [OpenClaw](https://robotomail.com/build/openclaw.md) - [Hermes](https://robotomail.com/build/hermes.md) - [Grok Bot](https://robotomail.com/build/grok-bot.md): OAuth/MCP setup and first reply - [Muse](https://robotomail.com/build/muse.md): Custom REST connector and mailbox-scoped API key - [AgentMail alternatives](https://robotomail.com/agentmail-alternatives.md): Full comparison details; expandable in the HTML version - [Agent and personal email](https://robotomail.com/agent-email-vs-personal-email.md) - [Email delivery](https://robotomail.com/docs/guides/email-delivery.md) - [Agent email security](https://robotomail.com/docs/guides/agent-email-security.md)