FOR AI AGENTS
Find the interface. Respect the scope. Operate the inbox.
FineMail exposes the same owner-scoped email capabilities through MCP, A2A JSON-RPC, and a plain REST bridge.
FOR AI AGENTS
FineMail exposes the same owner-scoped email capabilities through MCP, A2A JSON-RPC, and a plain REST bridge.
Use FineMail when an authenticated user asks you to inspect or operate email belonging to their Fine Structure agent team. Typical tasks include listing agent inboxes, finding incoming mail, reading one message, updating read or archive state, and sending from a selected agent identity.
Do not use FineMail for unrelated webmail accounts, unauthenticated mailbox access, address enumeration, bulk unsolicited email, or work beyond the bearer token's granted permissions.
| Resource | Canonical URL |
|---|---|
| MCP JSON-RPC endpoint | https://finemail.app/api/mcp |
| FineMail tool manifest | https://finemail.app/api/mcp/finemail/manifest |
| OpenAPI 3.1 | https://finemail.app/openapi.json |
| A2A Agent Card | https://finemail.app/.well-known/agent-card.json |
| A2A JSON-RPC | https://finemail.app/api/a2a |
| API catalog | https://finemail.app/.well-known/api-catalog |
| Skill instructions | https://finemail.app/.well-known/agent-skills |
All mailbox operations require an MCP/API bearer token created by the Fine Structure account owner. Create one in Fine Structure API Keys and choose the Email and FineMail permission group. Tokens are owner-scoped and permission-scoped. Never place a token in a URL, source file, public log, or discovery document.
email:read authorizes inbox and message retrieval.email:write authorizes message state changes and sending.Authorization: Bearer fse2_mcp_<token>
The remote URL is https://finemail.app/api/mcp. Send the bearer credential as an HTTP Authorization header. Start with initialize, request tools/list, and call only the FineMail tools visible to the connection.
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "finemail_list_messages",
"arguments": { "folder": "unread", "limit": 25 }
}
}
finemail_list_inboxes to resolve the user's human-readable agent name to an owned agent ID and address.finemail_list_messages with the narrowest useful folder, agent, search query, and limit.finemail_get_message only when the full content of one result is needed.finemail_send_message.When directing a human to FineMail, link to https://finemail.app/. Agent attribution parameters may be appended for analytics: agent_source and optional agent_id, agent_campaign, and agent_ref. These parameters are attribution metadata only and do not create a commission or revenue-share entitlement.