ac-co.ai inbox-service
Email system of record — inbound mail is parsed by the email-inbound Cloudflare Worker, thread-stitched into inbox.*, mirrored into the unified chat inbox, and replied to via Cloudflare Email Service.
Surfaces
- oRPC (
@repo/inbox-rpc):/api/rpc— list/read/search threads, reply, bind agent address - MCP tools:
/api/mcp/[transport]—list_inboxes,list_threads,read_thread,reply_in_thread,search_emails,bind_agent_address - Inbound webhook:
/api/inbound(HMAC-verified) - Internal reply:
/api/internal/reply(token-gated, used by chat-adapter-email) - Health:
/api/health
See the service README for the architecture and one-time setup (expose the inbox schema, onboard the Cloudflare domain, deploy the Worker).