inboxlease
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
inboxlease
inboxlease is a self-hosted email gateway for agents. Agents read and draft through MCP. A human reviews every outbound message in the web console.
Receive and archive email with Cloudflare Email Routing, D1 and R2.
Connect an agent with a tenant- and domain-scoped token.
Review drafts, inspect thread history and reconcile ambiguous sends.
Receive signed webhooks for thread, approval and OTP events.
Use Node.js 24.4 or later. Run npm ci, npm run typecheck and npm test for local verification. The test suite uses workerd with local D1 and R2.
See deployment to configure your own Cloudflare account, architecture for the request and data flows, and security for the trust boundaries.
Licensed under Apache-2.0.
Self-hosting
Copy wrangler.example.jsonc to wrangler.jsonc, configure the Worker bindings and secrets, and apply the D1 migrations before deploying. See the deployment guide.
Related MCP server: Postfleet MCP
Embed in a Worker
Install an exact version of inboxlease. Import worker from the package in your Worker entry point. A bundler must support TypeScript source dependencies. Point the D1 migration directory at node_modules/inboxlease/migrations. See the public library contract.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Governed email for agents: Gmail, M365 and IMAP; per-mailbox permissions, send allowlist, audit log
Email inboxes for AI agents: send, reply, read verification codes, human-approved drafts.
Governed email for AI agents: a sandbox inbox to read and send from, human approval to go external.
Email inboxes for AI agents: send, receive, search, drafts with owner approval, and webhooks.
Related MCP Servers
- AlicenseAqualityBmaintenanceEnables AI agents to send and receive email with enforced security policies, scoped mailboxes, and human approval for external sending.1572 npm1MIT
- AlicenseAqualityCmaintenanceGives AI agents their own email address with inbound parsing, classification, extraction, and prompt injection screening, plus tools to manage mailboxes, send/receive emails, and handle draft approval workflows.1461 npmMIT
- AlicenseBqualityCmaintenanceEnables agents to list, search, and read mailbox messages, manage user-isolated local drafts, fetch attachments, and send or reply to email through a dedicated mailbox user's HTTPS API. Write operations such as sending, replying, and marking messages read stay disabled until explicitly enabled and authorized.13MIT
- AlicenseAqualityBmaintenanceEnables agents to search, read, and draft email over IMAP and SMTP, including attachments and OAuth, with sending disabled by default and restricted to allowlisted recipients when enabled.4Apache 2.0