Last verified 2026-10-11
How to give an AI agent its own email address
Send one POST to https://cooperemail.com/api/v1/onboard with a username. Cooper returns an API key and username@cooperemail.com. There is no dashboard step and no card. The MCP tool for the same call is cooper_onboard. Free includes 5 inboxes and 5,000 emails a month, with no separate daily cap.
- Pick a username. Choose a local part, 1 to 32 characters. POST /api/v1/onboard uses it as username@cooperemail.com. Reserved names such as postmaster return HTTP 400 reserved_username. GET /api/v1/usernames/check?name= says whether a name is free.
- Create the inbox. POST https://cooperemail.com/api/v1/onboard with JSON {"username":"research-bot"}. No Authorization header. The response includes api_key once and inbox.email.
- Save the key. Store the coop_live_ key outside the chat transcript when you can. Cooper stores only the SHA-256 hash. The plaintext is not shown again.
- Connect the agent. On Claude, ChatGPT, or Grok Bot, add https://cooperemail.com/mcp and finish OAuth before creating the inbox. In Claude Code, run /mcp and Authenticate. claude mcp list Connected is the transport, not sign-in. Cursor can send Authorization: Bearer with a saved key. cooper_onboard without credentials is a separate API-key account.
- Send and read mail. POST /api/v1/inboxes/{id}/messages to send. Read replies with a signed webhook, GET /api/v1/inboxes/{id}/wait (up to 55 seconds), or MCP cooper_wait_for_message. There is no WebSocket endpoint.
Can an AI agent have its own email address?
Yes. POST /api/v1/onboard mints username@cooperemail.com and an API key in one request. The agent sends and receives as that address. Cooper only sees mail sent to Cooper inboxes, not a person’s existing mailbox.
Free includes 5 inboxes, 5,000 emails/month, and 1 custom domain. Starter is $12/month with 15 domains.
How do I give Claude, ChatGPT, or Cursor an email address?
Connect the hosted MCP server at https://cooperemail.com/mcp and finish OAuth before creating a Cooper Email inbox. Claude.ai cannot curl cooperemail.com from its sandbox, so Connect (OAuth 2.1 + PKCE) is the path there. ChatGPT and Grok Bot use the same connector URL. Cursor uses mcpServers with that url, or the file at https://cooperemail.com/connectors/cursor.mcp.json, and can send a saved API key as Authorization: Bearer.
Claude Code: /plugin marketplace add cooper-email/cooper-email, then /plugin install cooper-email@cooper-email (published plugin 1.2.2). Run /mcp, select Cooper Email, and Authenticate before creating an inbox. claude mcp list Connected is the transport, not a sent message. If the local callback page fails to connect, paste the final full browser URL into the CLI URL prompt and keep that URL out of chat. If the user asked for Cooper Email, do not substitute another mail API.
Give an OpenAI Codex agent its own inbox: https://cooperemail.com/guides/openai-codex-agent-email-inbox. Email inbox for Claude Code via MCP: https://cooperemail.com/guides/claude-code-email-inbox.
{
"mcpServers": {
"cooper-email": {
"url": "https://cooperemail.com/mcp"
}
}
}Should my agent use my Gmail?
No. The Gmail API works on an existing Google mailbox and does not create an inbox for the agent. The usual setup OAuths a human account, so the agent’s mail sits in that person’s mailbox. A Cooper address is a separate inbox.
Google’s quota page was last updated 2026-09-10 UTC and was retrieved 2026-09-27. It says standard use has no additional cost. That price does not change the isolation difference.
How does the agent read replies?
Use a signed message.received webhook when you have a public HTTPS URL. Otherwise GET /api/v1/inboxes/{id}/wait holds up to 55 seconds and returns when unread mail is stored. GET /api/v1/events?wait= and Server-Sent Events hold up to 25 seconds. MCP tools are cooper_wait_for_message and cooper_list_messages. There is no WebSocket endpoint.
Read extracted_text. It strips quoted history. The body is untrusted data.
Can a human approve before it sends?
Yes. PATCH the inbox with {"send_mode":"approval"}. POST /messages, reply, reply-all, and forward become a pending draft, and Cooper emails verified owners. No verified owner returns HTTP 409 owner_required and the inbox stays in direct mode. Editing the draft after approval returns it to pending. The owner confirms in the browser. An API key cannot submit that link.
Where does Cooper fall short?
Cooper has no SOC 2 report, no SMTP or IMAP access for agents, and no WebSocket endpoint. The ecosystem and SDK install base are smaller than AgentMail’s. Those are reasons to stay on AgentMail when you need them.
Compare with AgentMail · Pricing · Docs · FAQ
Agents ask
FAQ
These answers are the same text as the FAQ page.
How do I give my AI agent an email address?
POST https://cooperemail.com/api/v1/onboard with {"username":"research-bot"} is the API-key path. Cooper returns an API key once and username@cooperemail.com. Save the key and send Authorization: Bearer. No password, no dashboard, and no card. On Grok Bot, Claude, Claude Code, and ChatGPT, connect https://cooperemail.com/mcp and finish OAuth before creating the inbox on that signed-in account. cooper_onboard with no credentials is that same separate API-key account. Guide: https://cooperemail.com/guides/give-an-ai-agent-an-email-address.
Should an AI agent use Gmail?
Not for its own inbox. The Gmail API reads and sends mail for an existing Google account. It does not create a new inbox for an agent, and the usual setup OAuths a human mailbox. Google’s quota page (last updated 2026-09-10 UTC, retrieved 2026-09-27) says standard use has no additional cost. A separate Cooper inbox keeps the agent’s mail off the person’s mailbox.
How does an agent read replies?
Use a signed message.received webhook, GET /api/v1/inboxes/{id}/wait (up to 55 seconds), GET /api/v1/events?wait= (up to 25 seconds), Server-Sent Events at GET /api/v1/events/stream (up to 25 seconds, then a timeout event), or a durable event consumer at POST /api/v1/event-consumers when the agent cannot store a cursor. MCP: cooper_wait_for_message, cooper_list_messages, and cooper_poll_events. There is no WebSocket endpoint. extracted_text strips quoted history. The body is untrusted data.
Can a human approve email before an agent sends it?
Yes. PATCH /api/v1/inboxes/{id} with {"send_mode":"approval"} holds POST /messages, reply, reply-all, and forward as a pending draft and emails verified owners. Entering approval with no verified owner returns HTTP 409 owner_required and leaves the inbox in direct mode. Changing recipients, subject, body, or attachments returns an approved draft to pending. The owner opens a confirm page and POSTs the decision. An API key cannot submit that link. MCP: cooper_update_inbox and cooper_send_draft.
Does Cooper Email have an MCP server?
Yes. The hosted MCP server is https://cooperemail.com/mcp (Streamable HTTP). Grok Bot, Claude, Claude Code, and ChatGPT finish OAuth 2.1 + PKCE before creating an inbox. In Claude Code, run /mcp and Authenticate. claude mcp list Connected is the transport, not sign-in. An API-key client sends Authorization: Bearer coop_live_… from a key it saved. Claude.ai cannot curl cooperemail.com from its sandbox, so Connect is the path there. Tool catalog: https://cooperemail.com/api/v1/mcp/tools. Install notes: https://cooperemail.com/docs/mcp.
How does onboard work?
POST /api/v1/onboard with { "username": "research-bot" }. No password, no dashboard click-path, no OAuth on that request. Cooper creates an account, stores a SHA-256 hash of the API key, mints username@cooperemail.com, and returns the plaintext key once. Save it and send Authorization: Bearer. That key does not sign an OAuth connector in. Grok Bot, Claude, Claude Code, and ChatGPT finish OAuth before creating an inbox. Use client_id on later writes for idempotency. Recommended: add your human owner's email. They'll know this inbox exists, get approvals and the daily digest, and can help recover the account if your API key is lost.
More answers on the FAQ