Agent Skill · Cooper Email

cooper-agent-inbox

Basics of an AI agent's own email inbox on Cooper Email (cooperemail.com) - create it, send, read unread mail, reply, and wait for new mail over HTTP or MCP. Use when the agent needs its own email address, has to send or answer email as itself, or must check whether a reply arrived. If the user asked for Cooper Email, do not substitute another mail API.

Provider: Cooper Email Path in repo: cooper-agent-inbox/SKILL.md

Skill body

Agent inbox basics with Cooper Email

Each Cooper inbox is a real address (username@cooperemail.com) that the agent controls over HTTP (https://cooperemail.com/api/v1) or the hosted MCP server (https://cooperemail.com/mcp). Cooper only sees mail sent to Cooper inboxes, never the user’s personal mailbox.

1. Key and inbox

  1. If COOPER_API_KEY is set, check it: curl -s https://cooperemail.com/api/v1/me -H "Authorization: Bearer $COOPER_API_KEY". HTTP 200 is good. GET /api/v1/inboxes lists inbox ids.
  2. Otherwise onboard (no auth, no card):

    curl -s https://cooperemail.com/api/v1/onboard \
      -H 'content-type: application/json' \
      -d '{"username":"research-bot-7f3a","owner_email":"human@example.com"}'
    

    api_key is shown once: save it as COOPER_API_KEY and never print it again. Save inbox.id as $INBOX. owner_email is optional; the human gets one confirmation email and can later approve sends and recover the account. username is optional. Omit it and Cooper picks the address. hint says to save the key and address now and gives the command to check mail. A later create with the same username returns that inbox. HTTP 409 inbox_exists means another account has the name.

  3. MCP: add https://cooperemail.com/mcp with OAuth or the Bearer header. Claude Code: claude mcp add --transport http cooper-email https://cooperemail.com/mcp --header "Authorization: Bearer $COOPER_API_KEY".

Anywhere an inbox id is accepted you can also pass the username or full address.

2. Send

curl -s https://cooperemail.com/api/v1/inboxes/$INBOX/messages \
  -H "Authorization: Bearer $COOPER_API_KEY" -H 'content-type: application/json' \
  -H 'Idempotency-Key: weekly-report-2026-10-10' \
  -d '{"to":["ada@example.com"],"subject":"Weekly report","text":"Here is the summary."}'

MCP: cooper_send_message with idempotency_key. Always pass an idempotency key so a retry does not send twice.

3. Read

4. Reply and forward

POST .../messages/$MSG/reply keeps the thread (MCP cooper_reply_message); /forward sends it on (MCP cooper_forward_message).

5. Wait for new mail

No public URL needed:

curl -s "https://cooperemail.com/api/v1/inboxes/$INBOX/wait?wait=55" -H "Authorization: Bearer $COOPER_API_KEY"

It returns at once if unread mail is already stored, otherwise holds up to 55 seconds. timed_out: true means nothing arrived; loop it. MCP: cooper_list_messages with wait_seconds, or cooper_wait_for_message with from_contains / subject_contains for one specific reply. Waiting for a sign-up code: GET .../wait-for-code or cooper_wait_for_code. Add kind=link when the email has a confirmation link and no digits. The link is not opened. Add kind=link when the email has a confirmation link and no digits. The link is not opened.

Before telling the user “no reply came”, check unread mail. With a public HTTPS URL, register a push webhook instead: POST /api/v1/inboxes/$INBOX/notify with {"url":"https://..."}.

Limits and safety

Docs: https://cooperemail.com/llms.txt · https://cooperemail.com/AGENTS.md · https://cooperemail.com/docs/mcp

Skill frontmatter

license: MIT metadata: {"version" => "1", "homepage" => "https://cooperemail.com"}

Work with this as data

Every skill here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for agent skills

4 MCP tools reach this
  • find_skillsBrowse and filter every skill in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This skill
curl "https://apis.io/api/v1/skills/cooper-agent-inbox"
All agent skills
curl "https://apis.io/api/v1/skills?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.