agentic-inbox: Manage Email with a Self-Hosted AI Assistant

Summary
Agentic Inbox is a self-hosted email client that runs on Cloudflare Workers and adds an AI agent for inbox tasks. It suits people already using Cloudflare who want email and AI tools under their own account, with Cloudflare Access as the shared security boundary.
At a glance
- Language
- TypeScript
- License
- Apache-2.0
- Stars
- 8.2k
- Forks
- 1k
- Added to OSRepos
- May 18, 2026
- Last analyzed
- October 3, 2026
Topics
Click on any tag to explore related repositories
Use at your own risk
OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of code from these repositories is the user's own responsibility. Always review the repository, source code, dependencies, licenses, and security implications before running or installing anything. OSRepos is not responsible for issues, damages, or losses resulting from third-party repositories.
Overview
Agentic Inbox combines a web-based email client with an AI assistant that can read messages, search conversations, and prepare replies. It runs on Cloudflare Workers, using Durable Objects for isolated mailbox storage and R2 for attachments.
It is aimed at people who want to manage email through their own Cloudflare account and connect AI tools to inbox workflows. It is not designed for separate access controls per mailbox: anyone admitted by the shared Cloudflare Access policy can access all mailboxes.
Key Features
- Send and receive email through Cloudflare Email Routing and Email Service.
- Organize messages with folders, search, threaded replies and forwards, and attachments.
- Store each mailbox in its own Durable Object with a SQLite database, with attachments in R2.
- Use an AI agent to read, search, draft, and send email through nine email tools.
- Generate draft replies when new email arrives, with explicit confirmation required before sending.
- Configure per-mailbox system prompts and retain chat history.
- Connect external AI tools to the MCP server at
/mcp.
Use Cases
- Individuals or small teams already using Cloudflare who want a self-hosted email interface on their own account.
- Users who want an AI assistant to find messages or prepare replies while keeping final send approval in their hands.
- Developers exploring email workflows that connect Cloudflare Workers, Workers AI, and the Agents SDK.
- People who want external MCP-compatible AI tools to work with their inbox, provided they accept shared access across all mailboxes.
Project Facts
- Language: TypeScript
- License: Apache-2.0
- Stars: 8.2k
- Forks: 1k
- Archived: No
Getting Started
npm install
npm run dev
See the repository README for configuration, deployment, and setup details.
Considerations
- A Cloudflare account and domain are required, along with Email Routing, Email Service, and Workers AI for the corresponding features.
- Cloudflare Access is required in deployed or shared environments. It is the sole authorization boundary: an allowed user can access every mailbox, including through MCP.
- Deployment requires additional setup after using the deploy flow, including Access secrets and Email Routing configuration. Follow the README's deployment guide before exposing the app.
- The AI agent can draft and send messages, so review its actions; sending requires explicit confirmation in the described auto-draft flow.
Source repository
Open the original repository on GitHub.
27 counted GitHub visits
Related repositories
Similar repositories that may be relevant next.

OrcaReplay: Time Travel for AI Agents, Debugging and Evaluation
October 2, 2026
OrcaReplay introduces "time travel" capabilities for AI agents, allowing developers to record, replay, fork, and debug any agent run with any model. It addresses the challenges of AI agent debugging by providing byte-for-byte reproducibility, offline analysis, and the ability to compare different models from specific checkpoints. This tool, built by the OrcaRouter.ai team, enhances observability and control over complex agent behaviors.

OpenMake LLM: Self-Hosted AI Workspace for Local and Open-Weight LLMs
October 1, 2026
OpenMake LLM is an open-source, self-hosted AI workspace for local and open-weight LLMs. It coordinates specialized models, autonomous agents, and tools for deep research and artifact generation. This platform supports vLLM, LiteLLM, and BYOK providers, offering a robust environment for managing AI workloads.

ZenNotes: Keyboard-First Markdown Notes with Vim, Diagrams, and MCP Integration
October 1, 2026
ZenNotes is a versatile, keyboard-first Markdown notes app designed for speed and flexibility. It stores notes as plain Markdown files, offering Vim-friendly editing, diagram support, and integration with MCP tools. Available as a desktop app (Electron) and a self-hosted web app, ZenNotes provides a powerful solution for organizing your thoughts.

lat.md: A Knowledge Graph for Your Codebase, Written in Markdown
September 26, 2026
lat.md is an innovative tool that transforms your codebase knowledge into an interconnected graph of markdown files. It helps both AI agents and human developers quickly understand project architecture, business logic, and design decisions. By integrating directly into your project, lat.md ensures documentation remains consistent and up-to-date.