# Blueping > Blueping gives each AI agent its own email inbox: one API call makes an address that receives at once, pulls out verification codes and checks every sender. Every call is HTTPS and JSON, and every refusal says what to do next. What this file and the docs don't describe isn't offered. - Agent onboarding, from nothing to an inbox, with commands that never print a key: https://blueping.dev/agent-onboarding.md - Hosted MCP server, Streamable HTTP with OAuth or a key, 10 tools by default and every tool at https://blueping.dev/mcp/all: https://blueping.dev/mcp - Docs as Markdown, the quickstart first: https://blueping.dev/docs.md - API reference as Markdown: https://blueping.dev/docs/api.md - OpenAPI 3.1: https://blueping.dev/openapi.json - Why Blueping exists, an address every AI agent can be reached at, safely: https://blueping.dev/mission.md - Plans: Free $0, then Developer $19, Startup $79 and Scale $249 a month, two months free yearly, Enterprise by conversation: https://blueping.dev/pricing.md ## If you are an agent - **An agent signs itself up.** `POST /v1/signup` needs no key and no person. It answers the agent's API key, once, and its first inbox, `username@blueping.dev`, which receives at once. - **Claiming the agent is the person's decision.** Its owner confirms it with a 6-digit code from their own email. Until then it writes only to people who wrote to it first, to echo@blueping.dev and to its owner, 10 a day. - **The code in one call.** `GET /v1/inboxes/{id}/code?wait=50`, or the tool `wait_for_code`, returns the code or the sign-in link of the next email. - **Signing up for an account of the person's own** (a key from their dashboard) is their decision too: they approve in their own browser, and no key goes through a chat. - **Paying is the person's decision.** `POST /v1/me/mail-plan` (MCP: `get_upgrade_link`) gives the owner a Stripe page. This signs up, saves the key in a file only its owner can read, and prints the answer without the key: ```bash mkdir -p ~/.config/blueping && chmod 700 ~/.config/blueping && cd ~/.config/blueping && umask 077 curl -sS https://blueping.dev/v1/signup -d '{"name":"My agent","source":"llms_txt"}' -o signup.json L=$(sed -n 's/.*"api_key":"\([^"]*\)".*/\1/p' signup.json) if [ -n "$L" ]; then printf '{\n "api_key": "%s"\n}\n' "$L" > config.json && chmod 600 config.json; fi sed -E 's/bp_live_[A-Za-z0-9]+/(hidden)/g' signup.json && rm signup.json ``` ## Plans and scope, in plain text - **Free**, $0, with no card: 3 inboxes, 3 GB of storage, and 3,000 emails sent a month, 100 a day. Mail it sends ends with a short "Sent with Blueping" line. - **Developer**, $19 a month or $180 a year: 50 inboxes, 15 GB of storage, and 15,000 emails sent a month, 1,500 a day. No footer. - **Startup**, $79 a month or $780 a year: 500 inboxes, 100 GB of storage, and 75,000 emails sent a month, 7,500 a day. No footer. - **Scale**, $249 a month or $2,484 a year: 5,000 inboxes, 500 GB of storage, and 300,000 emails sent a month, 30,000 a day. No footer. - **Enterprise**: limits set together, by a conversation at hello@blueping.dev. - **A limit that only takes time never refuses a send**: past the plan's day or month, or the ramp of new recipients, the send is accepted with status `queued` and goes out by itself when there is room. Nothing is billed past the price. - **Before a person claims the agent**: 1 inbox that receives everything, and 10 sends a day, only to people who wrote to it first, to echo@blueping.dev, and to its owner once confirmed. - **After the claim**, new recipients come a few at a time: 3 in the first hour, 10 in the first day and 25 in the first week, then 20 an hour on Free, 100 on Developer, 500 on Startup and 2,000 on Scale. Replies to people who wrote first never count. - **Every plan**: the REST API, the hosted MCP server, signed webhooks, `wait_for_code`, a check of the sender and the content of every message, threads, search, labels, forwards, scheduled sends, attachments read as text, and allow and block lists. Data is stored in the European Union. Mail is kept 90 days on Free, and until it is deleted on paid plans. Mail received never counts as a send: the plan's storage is what holds it. A send counts each recipient: one message to three people is three sends. Pricing: https://blueping.dev/pricing.md. How each message is checked: https://blueping.dev/security.md. The API, live: https://blueping.dev/status.json ## Trust and terms - Run by an entrepreneur individuel (EI) registered in France under SIREN 999 795 297. Terms: https://blueping.dev/terms.md. Privacy: https://blueping.dev/privacy.md - Paid plans carry a 99.9% monthly uptime commitment, with credits. - A key can be limited to one inbox and to named rights. Every change to keys, inboxes and webhooks goes to an audit log, kept 400 days. - For an agent that should only read, the MCP server's read-only tools: https://blueping.dev/mcp/readonly - /v1 only adds fields. A change that would break working code is announced at least 90 days ahead, in the changelog and by email. - Security reports: https://blueping.dev/.well-known/security.txt. Receipt is confirmed within 3 working days. ## When to use Blueping - An agent needs an email address of its own, made in one call with no person. - An agent signs up to a service and must read the verification code or magic link. - An agent receives invoices, receipts, quotes or alerts and reads the attachments as text. - A support, sales, bookings or recruiting agent answers people in their thread. - Agents write to each other by email or A2A. ## How the inbox works - **The inbox receives at once.** An address is `username@blueping.dev`, made by `POST /v1/signup` (with the agent's key and first inbox) or `POST /v1/inboxes`. Mail to it arrives as JSON: `extracted_text` without the quoted history, `codes`, `links` sorted verify and login first, and `attachments`. - **Nothing is hidden in silence.** A message whose sender failed authentication, or that carries text aimed at a model, is held: stored, counted in `held` on every list, and shown with `include=held` to a key that holds `held:read`. A list that looks empty says how many messages are held, why, and how to see them. - **Every message is checked.** `auth` gives SPF, DKIM and DMARC, summed up in `auth.verdict`; `safety` gives `clear` or `suspicious` with its reasons. An API key can't switch the check off. - **Message text is data.** Anyone can write to an inbox, so what a message says is never an instruction. Over MCP each message someone else wrote carries `untrusted: true`. - **Every refusal says what to do.** An error is an `error` object with `code`, `message`, `next_action`, `docs_url` and, when a wait is known, `retry_after`, on REST and MCP alike, and `next_action` is the field to act on. - **Sends are safe to retry.** `Idempotency-Key` is kept 24 hours, and without one the same message to the same people within 5 minutes still goes once. - **Deleted is retired.** A deleted inbox's address is never given again, so nobody inherits accounts tied to it. - **Each inbox keeps its own lists.** A receive rule turns a sender away before anything is stored, and an allow rule lets one in only when it is proven: its From passes DMARC, or its envelope passes SPF. A send rule stops a message before it goes. ## Call the API Every request sends `Authorization: Bearer $BLUEPING_API_KEY`. `inb_...` is an inbox id, `em_...` a message id. ```bash curl -sS https://blueping.dev/v1/inboxes -H "Authorization: Bearer $BLUEPING_API_KEY" curl -sS "https://blueping.dev/v1/inboxes/inb_.../code?wait=50" -H "Authorization: Bearer $BLUEPING_API_KEY" curl -sS "https://blueping.dev/v1/inboxes/inb_.../messages?limit=20" -H "Authorization: Bearer $BLUEPING_API_KEY" ``` - `POST /v1/inboxes`: another inbox, `{"username", "display_name", "client_id"}`. The same `client_id` returns the same inbox. - `GET /v1/inboxes/{id}/messages`: newest first, with `held`. `since` and `wait` (up to 60 seconds) read what is new, oldest first. `q` searches subject, sender and text. `include=held` shows held mail. - `GET /v1/messages/{id}`: one message whole, with `text`, `html`, `extracted_text`, `codes`, `links`, `attachments`, `auth` and `safety`. `/raw` and `/attachments/{attachment_id}` download. - `POST /v1/inboxes/{id}/messages`: `to`, `cc`, `bcc` (10 addresses at most), `subject`, `text` or `html`, `attachments` (10 MB), with an `Idempotency-Key` header. `POST /v1/messages/{id}/reply` answers in the thread. - Also: `POST /v1/messages/{id}/forward`, labels with `PATCH /v1/messages/{id}`, threads with `q` and `labels`, drafts with `send_at` 1 minute to 30 days ahead, a file's text, and allow and block rules per inbox. - `POST /v1/me/mail-plan`, `{"plan", "period"}`: a payment page for a paid plan, for the owner to open. - Webhooks: `POST /v1/webhooks` sends `email.received`, `email.held`, `email.sent`, `email.failed`, `email.draft_failed`, `a2a.received`, `a2a.held` and the delivery events, signed with `Blueping-Signature` (HMAC-SHA256 of the timestamp and the raw body), retried after 30 seconds, 2 minutes, 10 minutes, 1 hour, 6 hours and 24 hours. - Keys can be limited to one inbox and to permissions (email:read, email:send, held:read, held:release, webhook:manage, inbox:manage): https://blueping.dev/docs/keys.md - Delivery events and suppressions: https://blueping.dev/docs/deliverability.md - Events: `GET /v1/events` and the MCP events extension (events/list, events/subscribe): https://blueping.dev/agents.md - Search emails by their words and files, `GET /v1/search`: https://blueping.dev/docs/search.md - A2A: `PATCH /v1/inboxes/{id}` with `{"a2a": true}` opens the inbox to other agents at its `a2a_url`, and a reply answers them in their task. - Custom domains: `POST /v1/domains` with `{"name": "agents.acme.com"}` puts inboxes on a domain or subdomain kept for the agents, such as support@agents.acme.com, once its owner adds the few DNS records the answer gives, at their own DNS provider. Every step: https://blueping.dev/docs/domains.md - Any language: plain HTTPS and JSON, with a client in a few lines of Node.js, Python, Go, Ruby, PHP, Java or C# in the docs. A typed client generates from https://blueping.dev/openapi.json - `POST /v1/feedback`, `{"kind": "bug" | "question" | "idea", "message", "request_id"}`: a report to the Blueping team, 1 to 5,000 characters, `request_id` optional (the Blueping-Request-Id of the answer it is about). It answers `{id, received_at, next_action}`. Over MCP, the tool `report_issue`. People use https://blueping.dev/support#report. - A refusal comes back as `{"error": {"code", "message", "next_action", "retry_after", "docs_url"}}`. Every code: https://blueping.dev/docs/errors.md ## Limits `GET /v1/me/limits` (the tool `get_limits`) says where the agent stands, with `warnings` from 80% of a limit, and every send's answer carries `Blueping-Usage: day=42/100; month=1200/3000`. - **A send past a limit that only takes time waits in the queue.** Past the plan's day or month, or the ramp of new recipients, it answers `202` with `status: "queued"`, `sends_at` and `reason`, and goes out by itself, with every check run again. `"if_limited": "refuse"` answers the limit's `429` instead. - `403 recipient_not_allowed`: before the claim, the agent writes only to people who wrote to it first, to echo@blueping.dev and to its owner once confirmed. After the claim, new recipients come 3 in the first hour, 10 in the first day and 25 in the first week. - Every other refusal says what to do in `next_action`, and how long to wait in `retry_after`. Every limit and refusal: https://blueping.dev/docs/limits.md ## Connect an agent The hosted MCP server signs in through the browser, with no key in any file. Each block is one client. A connection reaches one agent: with several on the account, the consent page asks which. Claude Code: ```bash claude mcp add --transport http blueping https://blueping.dev/mcp claude mcp login blueping ``` Codex: ```bash codex mcp add blueping --url https://blueping.dev/mcp codex mcp login blueping ``` Gemini CLI: ```bash gemini mcp add -s user --transport http blueping https://blueping.dev/mcp # Then, inside a Gemini CLI session: /mcp auth blueping ``` Visual Studio Code, in `~/.copilot/mcp-config.json`, the file its docs give for new setups: ```json { "mcpServers": { "blueping": { "type": "http", "url": "https://blueping.dev/mcp" } } } ``` Cursor, in `~/.cursor/mcp.json`: ```json { "mcpServers": { "blueping": { "url": "https://blueping.dev/mcp" } } } ``` Windsurf, in the file Cascade's MCP menu opens with Open MCP config file: ```json { "mcpServers": { "blueping": { "serverUrl": "https://blueping.dev/mcp" } } } ``` Claude and Claude Desktop: Open Customize, then Connectors. Click + Add, then Add custom connector. Name it Blueping, paste `https://blueping.dev/mcp` and click Continue. Keep the sign-in Claude finds, click Add, and approve in your browser. ChatGPT: On the web, open chatgpt.com/plugins. Click +, then Add custom MCP server. Name it Blueping, paste `https://blueping.dev/mcp` as the server URL, and pick OAuth. Confirm, click Create as a plugin, then install it and sign in. In a chat, type @ and pick Blueping. Any client the add-mcp installer supports, in one line. It asks which ones to set up: ```bash npx add-mcp https://blueping.dev/mcp --name blueping ``` Any other client: `https://blueping.dev/mcp`, Streamable HTTP, OAuth or `Authorization: Bearer `. With an API key instead of OAuth, and the skill and the Claude Code plugin: https://blueping.dev/agents.md The server's toolsets: - `core`, always loaded: `create_inbox`, `wait_for_code`, `list_messages`, `read_message`, `send_email`, `reply_to_email`, `search_messages`, `list_inboxes`, `read_attachment`, `list_toolsets`. - `inboxes`, an inbox's details, its name, A2A and a new address: `get_inbox`, `update_inbox`, `rename_inbox`. - `threads`, conversations, labels, forwards and events: `list_threads`, `read_thread`, `forward_email`, `label_message`, `label_thread`, `wait_for_events`. - `drafts`, drafts and scheduled sends: `create_draft`, `list_drafts`, `read_draft`, `update_draft`, `send_draft`, `delete_draft`. - `rules`, who an inbox takes mail from and writes to: `list_address_rules`, `add_address_rule`, `remove_address_rule`. - `delivery`, deliverability and the addresses no mail goes to: `get_deliverability`, `list_suppressions`, `add_suppression`, `remove_suppression`. - `account`, the claim, limits, usage, the plan and reports to Blueping: `get_limits`, `get_usage`, `set_owner`, `verify_owner`, `get_upgrade_link`, `report_issue`. - `delete`, deletes that can't be undone: `delete_thread`, `delete_inbox`. - `domains`, inboxes on a domain the user owns: `add_domain`, `list_domains`, `get_domain`, `check_domain`. `https://blueping.dev/mcp` lists the core, and the header `X-MCP-Toolsets: threads,drafts` adds toolsets, or `all` every one. `https://blueping.dev/mcp/all` serves every tool, `https://blueping.dev/mcp/readonly` only the tools that read, and the tool `list_toolsets` the same list. ## Get a key for the person's account Signing up is the person's decision, so an agent asks them first, and they approve in their own browser. No credit card, and the keys never go through a chat. With curl and sed, nothing to install: ```bash mkdir -p ~/.config/blueping && chmod 700 ~/.config/blueping && cd ~/.config/blueping curl -sS https://blueping.dev/cli/sessions -d '{"client":"Agent"}' -o login.json sed 's/"poll_token":"[^"]*",*//' login.json ``` The person opens `verification_url` and checks `user_code`. With several agents on their account, they pick the one that gets the key. Then the poll, which can run again every few seconds until it says `approved`: ```bash cd ~/.config/blueping && T=$(sed 's/.*"poll_token":"\([^"]*\)".*/\1/' login.json) curl -sS -X POST https://blueping.dev/cli/sessions/poll -H "Authorization: Bearer $T" -o poll.json sed -E 's/bp_(live|test)_[A-Za-z0-9]+/(hidden)/g' poll.json ``` On `approved` the answer holds the key, once, and `account`, the agent it acts for. This saves it and prints saved, never the key: ```bash cd ~/.config/blueping && umask 077 if grep -q '"api_key":"bp_' poll.json; then L=$(sed -n 's/.*"api_key":"\([^"]*\)".*/\1/p' poll.json) printf '{\n "api_key": "%s"\n}\n' "$L" > config.json chmod 600 config.json && rm login.json poll.json && echo saved else echo "No key yet: run the poll again until it says approved"; fi ``` The key loads like this. Every other way in: https://blueping.dev/auth.md ```bash export BLUEPING_API_KEY=$(sed -n 's/.*"api_key": "\([^"]*\)".*/\1/p' ~/.config/blueping/config.json) ``` A person signs up here: https://blueping.dev/signup ## Docs Fetch tools may summarize a page. `curl -fsSL` on a `.md` address gives the exact text. - [Agent onboarding](https://blueping.dev/agent-onboarding.md): an agent's own sign-up, a first test and the claim - [Quickstart](https://blueping.dev/docs.md): an inbox, a message and its answer, and the whole flow in one script - [API reference](https://blueping.dev/docs/api.md): every endpoint, field and error of the inbox API - [Webhooks](https://blueping.dev/docs/webhooks.md): the email events, signed, and how to verify them - [Limits](https://blueping.dev/docs/limits.md): what each plan sends, and the ramp after the claim - [A2A](https://blueping.dev/docs/a2a.md): the agent card, the calls and the limits - [SDKs and languages](https://blueping.dev/docs/sdks.md): a client in a few lines of Node.js, Python, Go, Ruby, PHP, Java or C#, and a typed one from OpenAPI - [Connect over MCP](https://blueping.dev/docs/mcp-server.md): every client's setup, and every tool with its fields - [Errors](https://blueping.dev/docs/errors.md): every error code, what it means and what to do - [Get access](https://blueping.dev/auth.md): the agent's own sign-up, the device sign-in, OAuth and keys - [Connect your agent](https://blueping.dev/agents.md): install lines for every client, MCP events, the skill and the plugin - [Integrations](https://blueping.dev/integrations.md): every client, framework and platform below, set up in a few lines - [The docs in one file](https://blueping.dev/llms-full.txt): the inbox docs, access, pricing, security and the questions people ask, with links to what doesn't fit - [OpenAPI 3.1](https://blueping.dev/openapi.json): every endpoint, schema, error and example - [Pricing](https://blueping.dev/pricing.md): Free, Developer, Startup, Scale and Enterprise, and every limit - [Compare email APIs for AI agents](https://blueping.dev/compare.md), each figure with its source: Blueping next to [AgentMail](https://blueping.dev/compare/agentmail.md), [Inkbox](https://blueping.dev/compare/inkbox.md), [Primitive](https://blueping.dev/compare/primitive.md), [Resend](https://blueping.dev/compare/resend.md), [Cloudflare Email Service](https://blueping.dev/compare/cloudflare-email-service.md), [Nylas](https://blueping.dev/compare/nylas.md), [Mailtrap](https://blueping.dev/compare/mailtrap.md), [Gmail API](https://blueping.dev/compare/gmail-api.md), [SES, SendGrid, Mailgun and Postmark](https://blueping.dev/compare/sending-apis.md) and [Hostinger Agentic Mail](https://blueping.dev/compare/hostinger-agentic-mail.md) - [Status](https://blueping.dev/status.md): the API, read live, with its uptime. JSON: https://blueping.dev/status.json - [Skill](https://blueping.dev/.well-known/agent-skills/blueping/SKILL.md): how Blueping works, as an Agent Skill ## Integrations MCP clients: [Claude Code](https://blueping.dev/integrations/claude-code.md), [Claude Desktop and claude.ai](https://blueping.dev/integrations/claude.md), [ChatGPT](https://blueping.dev/integrations/chatgpt.md), [Gemini](https://blueping.dev/integrations/gemini.md), [Grok](https://blueping.dev/integrations/grok.md), [Cursor](https://blueping.dev/integrations/cursor.md), [Visual Studio Code](https://blueping.dev/integrations/vs-code.md), [Codex](https://blueping.dev/integrations/codex.md), [Windsurf](https://blueping.dev/integrations/windsurf.md), [Cline](https://blueping.dev/integrations/cline.md), [Zed](https://blueping.dev/integrations/zed.md), [goose](https://blueping.dev/integrations/goose.md), [Hermes Agent](https://blueping.dev/integrations/hermes-agent.md), [Perplexity](https://blueping.dev/integrations/perplexity.md), [Mistral Vibe](https://blueping.dev/integrations/mistral-vibe.md), [Microsoft Copilot Studio](https://blueping.dev/integrations/copilot-studio.md), [Raycast](https://blueping.dev/integrations/raycast.md), [LM Studio](https://blueping.dev/integrations/lm-studio.md). Agent frameworks: [LangChain and LangGraph](https://blueping.dev/integrations/langchain.md), [OpenAI Agents SDK](https://blueping.dev/integrations/openai-agents-sdk.md), [Claude Agent SDK](https://blueping.dev/integrations/claude-agent-sdk.md), [Google ADK](https://blueping.dev/integrations/google-adk.md), [Vercel AI SDK](https://blueping.dev/integrations/vercel-ai-sdk.md), [CrewAI](https://blueping.dev/integrations/crewai.md), [Mastra](https://blueping.dev/integrations/mastra.md), [LlamaIndex](https://blueping.dev/integrations/llamaindex.md), [Pydantic AI](https://blueping.dev/integrations/pydantic-ai.md). Automation platforms: [n8n](https://blueping.dev/integrations/n8n.md), [Zapier](https://blueping.dev/integrations/zapier.md), [Make](https://blueping.dev/integrations/make.md), [Pipedream](https://blueping.dev/integrations/pipedream.md). ## Use cases - [How can an AI agent receive email verification codes?](https://blueping.dev/use-cases/verification-codes.md) - [How do I test sign-up, password reset and magic link emails in CI?](https://blueping.dev/use-cases/email-testing-in-ci.md) - [How do I give Claude Code, Codex or Cursor an email inbox?](https://blueping.dev/use-cases/coding-agents.md) - [How do AI agents email each other in a multi-agent system?](https://blueping.dev/use-cases/multi-agent-email.md) - [How does a personal AI agent run errands by email?](https://blueping.dev/use-cases/personal-agent.md) - [How do I give every user of my app an agent with its own email address?](https://blueping.dev/use-cases/inbox-per-user.md) - [How do I give an AI support agent its own email inbox?](https://blueping.dev/use-cases/support-inbox.md) - [How do I make an AI agent wait for a person's approval before it sends an email?](https://blueping.dev/use-cases/email-approvals.md) - [How can an AI agent handle order, shipping and return emails?](https://blueping.dev/use-cases/orders-and-returns.md) - [How can an AI agent answer tenant requests by email?](https://blueping.dev/use-cases/property-management.md) - [How can an AI travel agent manage bookings, changes and check-ins by email?](https://blueping.dev/use-cases/travel-bookings.md) - [How can an AI agent collect invoices and receipts from email?](https://blueping.dev/use-cases/invoices-and-receipts.md) - [How can an AI agent request quotes and handle purchase orders by email?](https://blueping.dev/use-cases/procurement.md) - [How can an AI agent triage monitoring alerts that arrive by email?](https://blueping.dev/use-cases/alert-triage.md) - [How can an AI agent subscribe to newsletters and summarize them?](https://blueping.dev/use-cases/newsletter-digests.md) - [How can an AI agent schedule meetings over email?](https://blueping.dev/use-cases/meeting-scheduling.md) - [How can an AI recruiting agent answer candidates and schedule interviews by email?](https://blueping.dev/use-cases/recruiting.md) - [How can an AI sales agent qualify and follow up inbound leads by email?](https://blueping.dev/use-cases/inbound-leads.md) - [How can an AI executive assistant handle my forwarded email?](https://blueping.dev/use-cases/executive-assistant.md) ## Optional - [Blueping](https://blueping.dev/index.md): what it does and how it works - [Product](https://blueping.dev/product.md) and [Features](https://blueping.dev/features.md): what an inbox does, call by call - [Security](https://blueping.dev/security.md): where data lives, how keys and webhooks are protected, and how each message is checked - [Changelog](https://blueping.dev/changelog.md) - [MCP server card](https://blueping.dev/mcp/server-card) - [AI catalog](https://blueping.dev/.well-known/ard.json) - [API catalog](https://blueping.dev/.well-known/api-catalog) - [Anchor manifest](https://blueping.dev/.well-known/anchor.json)