Skip to Content
MailroomMailroom home

Run your agents from Claude

Approve emails, answer escalations and get a daily briefing by talking to your own assistant.

Your agents work in their inboxes. You don't have to open the dashboard to supervise them: connect Mailroom to your own Claude (Claude Code, Cursor, Claude Desktop) with an owner key, and run everything from chat.

You: What did my agents do today?

Claude: Riley handled 14 emails and resolved 9 conversations. Two things need you: an email to finance@partner.co waiting for approval, and Pat Lee's refund request, which Riley escalated…

You: Approve the finance one, but say "shipping cost only". And tell Riley to offer Pat a refund of the shipping.

Connect

On the dashboard Overview, click Connect Claude under Run your agents from Claude. Copy the command it shows and run it once:

claude mcp add --transport http mailroom-owner https://api.mailroomapi.com/mcp \
  --header "Authorization: Bearer mr_live_YOUR_OWNER_KEY"

The key is yours, not an agent's: it can approve and reject held email and hand conversations back. Keep it to your own machine. For other clients, use the configs in Connect your agent with this key.

What you can ask

ToolAsk things like
briefing"What happened today?" "Anything I need to deal with this week?" Covers mail in and out, resolved conversations, held emails, escalations, customers waiting 4+ hours, bounces and paused agents.
list_approvals"What's waiting for my approval?" Shows each draft in full.
approve"Send it." "Send it, but change the last line to …"
reject"Don't send that, the tone is wrong." The agent is told why.
hand_back"Tell Riley to offer a shipping refund only." Sends an escalated conversation back to its agent with your guidance. The agent's webhook fires and it sees owner_guidance in the conversation.
reply_as_me"Reply to Pat myself: …" Goes out as you, without the agent's signature or rules.
reply_as_agent"Answer as Riley: …" Your words, signed as the agent and checked by its rules.

All the agent tools work too (list_inbox with a status across every inbox, get_thread, get_attachment, send_email).

Why this is safe

  • Agent keys can never hold the approval permission, and the API checks it on every call. An agent that calls approve by name gets refused.
  • Approval tools are only listed for keys that have the approval permission and do not belong to an agent.
  • Each decision is in the audit log with the key that made it.
  • Claude should only approve what you have said yes to. The tool descriptions tell it so, but you are still the one approving. If you want a hard stop, don't connect an owner key, and approve on the dashboard or from the owner emails.

Over HTTP

CallDoes
GET /v1/briefing?since=24hThe briefing (since: 90m, 24h, 7d, or an ISO time; at most 30 days)
POST /v1/approvals/{id}/approveApprove, optionally with { "edited": { "subject", "text" } }
POST /v1/approvals/{id}/rejectReject with { "reason" }
POST /v1/threads/{id}/hand-back{ "guidance" }; needs approvals:decide
POST /v1/threads/{id}/reply{ "text" } as you, or add "as_agent": true

On this page