# Pidgeon: email inboxes for AI agents > Real inboxes your agents write from, reply in and work with. Live in one prompt. For builders: every agent gets its own inbox, on `@pidgeon.email` or your own domain. For platforms: white-label inboxes for each of your users, a tenant each (the API calls it a pod). The first 3,000 emails a month are free, then €2 per 1,000; inboxes are free. Apps can also let agents sign in as themselves with Sign in with Pidgeon (OpenID Connect). Start here: https://pidgeon.ai/index.md is the whole pitch with setup steps. To give an agent an inbox, read https://pidgeon.ai/docs/email.md and https://pidgeon.ai/docs/sending.md. The API is at https://pidgeon.ai/v1, the MCP server at https://pidgeon.ai/mcp; SDKs are `@pidgeon-ai/sdk` (TypeScript) and `pidgeon` (Python). Every page below is Markdown. Send `Accept: text/markdown` to any docs page, or add `.md` to its address. https://pidgeon.ai/llms-full.txt is all of it in one file. ## Get started - [Email inboxes for AI agents](https://pidgeon.ai/docs/index.md): Pidgeon gives your agents real inboxes they write from, reply in and work with. Live in one prompt. Every page here is also plain Markdown for your coding agent. - [Give your agent an inbox](https://pidgeon.ai/docs/agent-builders.md): Your agent gets its own address on `@pidgeon.email` in a minute: no domain, no DNS. Connect Pidgeon from your coding agent, the plugin, any MCP client or the API, create an inbox, send, and read the replies. ## Email - [Inboxes](https://pidgeon.ai/docs/email.md): Inboxes for your agents, on `pidgeon.email` or your own domain. They receive mail and send it, and are made and removed through the API, the SDKs or the MCP server. No domain or agent registration needed to start. This page covers inboxes, receiving, reading and the Firewall; [Send mail](https://pidgeon.ai/docs/sending.md) covers sending, drafts, approval and rules. - [Send mail](https://pidgeon.ai/docs/sending.md): Send email from any of your inboxes with `POST /v1/email/inboxes/{id}/messages`: plain text, HTML or both, to up to 50 people, as a new thread or a reply. Or write a draft, have a person approve it, or schedule it. Rules and a do-not-send list decide who may be written to, and how much an account may send follows its reputation. ## For platforms - [Inboxes for every user of your platform](https://pidgeon.ai/docs/platforms.md): Give each of your users their own inboxes, under your product. Each user gets a pod: their inboxes, mail, domains and webhooks, apart from everyone else’s. Their mail goes out from their own domain. One account, one bill. ## Platform - [Accounts, API keys and pods](https://pidgeon.ai/docs/api-keys.md): One Pidgeon account holds your inboxes, your team, your billing and your reputation. Your servers call the API with an account’s API key, and each key has an access level that decides what it may do. Pods divide an account into tenants, so a platform keeps each user’s inboxes, domains and agents apart. - [Webhooks and the event log](https://pidgeon.ai/docs/webhooks.md): Pidgeon tells your server when something concerns you: mail arrives, is held or bounces, your reputation moves, a website reports one of your agents, or a person grants or revokes a mandate. Each delivery is signed with your endpoint’s secret. Everything that happens in the account is also kept in an event log you can read with `GET /v1/events`. - [Errors](https://pidgeon.ai/docs/errors.md): Every `/v1` error has one shape, `{"error": {"code", "message"}}`, with a stable `code` to branch on and a `message` to show a person. This page lists the codes, what each status means, and the OAuth endpoints’ own error shape. - [Pricing and limits](https://pidgeon.ai/docs/pricing.md): Inboxes are free: you pay only for the emails you send. Prices are in euros. Usage past the free volume is billed monthly once usage billing is on (in the dashboard, **Account → Plan and billing**); without it, the API answers `402` until the next month. ## Sign in with Pidgeon - [Sign in with Pidgeon](https://pidgeon.ai/docs/auth.md): Let AI agents sign in to your app as themselves, and people too. Sign in with Pidgeon is one OpenID Connect provider at `https://pidgeon.ai` that signs people in with the code flow and PKCE, and signs agents in with no person present, by a request signed with their agent key ([Agents and keys](https://pidgeon.ai/docs/passport.md)). Register your site (in the dashboard or by API) to get a client id and secret, then follow the page for people or for agents. - [Sign people in](https://pidgeon.ai/docs/auth-people.md): Let people sign in to your site with their Pidgeon account through standard OpenID Connect: the authorization code flow with PKCE (S256), your client secret at the token endpoint, and an RS256 ID token for your site. Any OpenID Connect library works; no Pidgeon SDK is needed. - [Sign agents in](https://pidgeon.ai/docs/auth-agents.md): An agent signs in to your site with no person present: it exchanges a request signed with its agent key for a ten-minute ID token for your site, then signs every request it sends you with the same key. Your site checks both, so a copied token is useless alone. The same exchange gives an MCP server’s authorization server an ID-JAG. - [Mandates](https://pidgeon.ai/docs/mandates.md): A mandate lets a person authorise one of your agents to act for them at one site, for a scope and until a date. You ask with `POST /v1/auth/mandates` and send the person the consent link; once they allow it, the agent signs in to that site as the person, with itself named as the actor. ## Agents and keys - [Agent identity](https://pidgeon.ai/docs/passport.md): Register an agent and it can sign in to sites as itself, and the mail from its inbox names you as its operator. Optional for email: an inbox works without it. The pieces are a verified operator (you), agents registered under you, and a key per agent in your key directory; in the dashboard they are under **Passport**. This page explains them and how you are verified. - [Sign requests](https://pidgeon.ai/docs/signing-requests.md): Make every HTTP request your agent sends carry its Passport: three headers under Web Bot Auth (HTTP Message Signatures, RFC 9421), signed with the agent’s Ed25519 key. Use the SDK, or sign with any Web Bot Auth library. This page also shows how to set an agent up from code: registered, its key made where it runs and published. - [Reputation](https://pidgeon.ai/docs/reputation.md): Reputation is your account’s standing: it sets how much you can send, and sites your agents sign in to read it. A band from `unverified` to `good`, and down to `flagged` and `suspended`. It is computed by written rules, not a model, and every factor behind yours is shown to you in Passport. This page lists the rules. ## Reference - [API reference](https://pidgeon.ai/docs/api.md): Every endpoint Pidgeon answers, with the access it needs and the page that documents it. The API is at `https://pidgeon.ai`, takes and answers JSON (OAuth endpoints take forms), and authenticates `/v1` with `Authorization: Bearer pgn_…`. - [SDKs, CLI and MCP](https://pidgeon.ai/docs/sdks.md): Two SDKs do the same things: `@pidgeon-ai/sdk` for TypeScript and JavaScript (Node 20 or later, and any runtime with Web Crypto and fetch) and `pidgeon` for Python 3.10 or later. Both are Apache-2.0, and both sign byte for byte the same. On top of them, `pidgeon` the command line and `pidgeon-mcp` the MCP server. This page lists every function, command and tool. - [Open standards](https://pidgeon.ai/docs/open-standards.md): Pidgeon speaks published standards wherever one exists, so any compatible library can sign, verify or sign in without our SDK. This page lists each standard, where Pidgeon uses it, and the few pieces Pidgeon defines itself. - [Moving from the old API](https://pidgeon.ai/docs/old-api.md): Code written for the old email API at `/api/v1` keeps working for seven days after pidgeon.ai moves to the new Pidgeon, then answers 410. What still answers, what does not, and the call to use instead. ## Optional - [Everything in one file](https://pidgeon.ai/llms-full.txt): all the pages above, in order.