Pro Edition
The Pro edition can expose an optional MCP (Model Context Protocol) endpoint at /mcp, letting AI assistants and agents search and read the archive with the same permission checks as any other client.
Enable
BICHON_ENABLE_MCP=trueAvailable tools
| Tool | Description |
|---|---|
search_emails | Full-text search with filters |
get_email_content | Fetch a message's full content |
get_thread | Fetch a complete conversation thread |
search_attachments | Search attachments by metadata |
get_attachment | Download an attachment |
get_envelope | Fetch a single envelope |
list_accounts / list_mailboxes | Enumerate authorized accounts and folders |
get_account_stats | Per-account statistics |
run_analytics_query | Run an analytics query (same engine as /analytics) |
list_tags / list_contacts | Tags and address book |
Security: MCP sessions authenticate like any API client and are subject to the same RBAC permissions — an assistant can only access what its user may access.