An agent that watches an inbox and acts
Connect your MCP client to a mailbox and its actions become tools — read, list, draft, send, manage suppression. Your agent triages what lands, decides, and replies, without you writing an email integration.
https://mail.sairaph.com/mcp/v1/mcp
Authorization: Bearer $SAIRAPH_MAIL_KEYThe MCP endpoint plus a mailbox key — the mailbox becomes tools.
Watching an inbox is glue code you keep rewriting
Triage looks simple until you build it: an IMAP connection to babysit, reconnection logic, message parsing, a classifier, a way to draft and send replies, and per-action permissions so the agent can't do something you didn't intend. Every agent framework re-implements this differently. With a native MCP server, the mailbox already exposes those actions as tools — your agent calls them directly and you spend your time on the decision logic, not the plumbing.
How it works
01Connect the mailbox over MCP
Point your MCP client at the streamable-HTTP endpoint and authenticate with a per-inbox mailbox key. The mailbox's actions appear as tools.
claude_desktop_config.json{ "mcpServers": { "sairaph-mail": { "type": "streamable-http", "url": "https://mail.sairaph.com/mcp/v1/mcp", "headers": { "Authorization": "Bearer ${SAIRAPH_MAIL_KEY}" } } } }02Let the agent read new mail
The agent lists and reads inbound — from cache, or ?live=true for an on-demand fetch.
03Classify and decide
Your agent applies its own logic: route, label, escalate, or answer.
04Draft and send a reply
Sending is a tool too; the reply goes out from the managed mailbox, signed with DKIM.
05Keep the list clean
Suppression is per mailbox, so bounces and complaints don't poison future sends.
Connect over MCP
Point any MCP-capable client at the endpoint with a mailbox key and the mailbox's actions show up as tools.
{
"mcpServers": {
"sairaph-mail": {
"type": "streamable-http",
"url": "https://mail.sairaph.com/mcp/v1/mcp",
"headers": {
"Authorization": "Bearer ${SAIRAPH_MAIL_KEY}"
}
}
}
}Any MCP-capable client: point it at the endpoint, pass a mailbox key.
What this leans on
The capabilities behind an MCP triage agent.
- Native MCP server
- Real-time inbound (?live=true)
- Scoped, expiring API keys
- Managed domain, DKIM & deliverability
- Per-customer encryption
Frequently asked questions
Related
Wire a mailbox into your agent
Its actions become tools in minutes.
EU data residencyPer-customer encryptionNative MCP