Agentic Inbox: A Self-Hosted Email Client with AI on Cloudflare Workers

This repository profile is provided by osrepos.com, an open source repository discovery platform.

Agentic Inbox: A Self-Hosted Email Client with AI on Cloudflare Workers

Summary

Agentic Inbox is an innovative self-hosted email client that integrates an AI agent, running entirely on Cloudflare Workers. It provides a modern web interface for managing emails, enhanced by AI capabilities for reading, searching, and drafting replies. This project leverages Cloudflare's robust ecosystem, including Email Routing, Durable Objects, R2, and Workers AI, to deliver a powerful and secure email solution.

Repository Information

Analyzed by OSRepos on May 18, 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.

Introduction

Agentic Inbox is an innovative open-source project from Cloudflare, offering a self-hosted email client powered entirely by Cloudflare Workers. This solution provides a modern web interface for sending, receiving, and managing emails, deeply integrated with an AI agent. It leverages Cloudflare's robust ecosystem, including Cloudflare Email Routing for incoming emails, Durable Objects for isolated mailboxes with SQLite databases, and R2 for attachment storage.

At its core, Agentic Inbox features an AI-powered Email Agent built with the Cloudflare Agents SDK and Workers AI. This agent can intelligently read your inbox, search conversations, and draft replies, significantly enhancing your email management experience.

Installation

Setting up Agentic Inbox involves a few key steps to integrate it with your Cloudflare account:

  1. Deploy to Cloudflare: Begin by clicking the "Deploy to Cloudflare" button. This process automatically provisions necessary Cloudflare services like R2, Durable Objects, and Workers AI. You will be prompted to specify the domain for which you want to receive emails.

Deploy to Cloudflare

  1. Configure Cloudflare Access: Enable one-click Cloudflare Access on your Worker via Settings > Domains & Routes. You must set the POLICY_AUD and TEAM_DOMAIN values, provided in the modal, as secrets for your Worker.
  2. Set up Email Routing: In your Cloudflare dashboard, navigate to your domain's Email Routing settings and create a catch-all rule to forward emails to your deployed Worker.
  3. Enable Email Service: Ensure your Worker has the send_email binding enabled to allow outbound email sending. Refer to the Email Service documentation for details.
  4. Create a Mailbox: After deployment and configuration, visit your deployed application and create a mailbox for any address on your domain, for example, hello@example.com.

For a comprehensive, step-by-step guide with screenshots, please refer to the detailed comment on GitHub: Setup Guide.

Key Features

Agentic Inbox is packed with features designed to provide a comprehensive and intelligent email experience:

  • Full Email Client: Send and receive emails through Cloudflare Email Routing, featuring a rich text composer, reply/forward threading, folder organization, search capabilities, and attachment support.
  • Per-Mailbox Isolation: Each mailbox operates within its own Durable Object, utilizing SQLite for storage and R2 for attachments, ensuring data isolation and scalability.
  • Built-in AI Agent: A dedicated side panel offers 9 email tools, enabling the AI agent to read, search, draft, and send emails efficiently.
  • Auto-Draft on New Email: The AI agent can automatically read incoming emails and generate draft replies, always requiring explicit user confirmation before sending.
  • Configurable and Persistent: Enjoy custom system prompts per mailbox, persistent chat history, streaming markdown responses, and visibility into tool calls, allowing for a tailored AI experience.

Why Use It

Agentic Inbox offers a compelling solution for those seeking a powerful, private, and customizable email client. By self-hosting on Cloudflare Workers, you gain full control over your email data and infrastructure, benefiting from Cloudflare's global network and serverless architecture. The integration of an AI agent transforms email management, automating routine tasks and providing intelligent assistance for drafting responses and organizing your inbox. It's an excellent choice for developers and organizations looking to leverage modern cloud technologies and AI to enhance their communication workflows.

Links

Related repositories

Similar repositories that may be relevant next.

Llama Cloud Services: Knowledge Agents and Management in the Cloud

Llama Cloud Services: Knowledge Agents and Management in the Cloud

July 3, 2026

Llama Cloud Services offers tools for building knowledge agents and managing data in the cloud. It provides robust capabilities for parsing various document types, including PDF, DOCX, and PPTX, into structured formats. Users should note that this repository is deprecated, with migration recommended to the new `llama-cloud` packages for continued support and improved performance.

document parsingpdf processingstructured data
FreeLLMAPI: Stack 16 Free LLM Tiers for 1.7 Billion Tokens/Month

FreeLLMAPI: Stack 16 Free LLM Tiers for 1.7 Billion Tokens/Month

June 27, 2026

FreeLLMAPI is an OpenAI-compatible proxy that aggregates the free tiers of 16 LLM providers, offering access to approximately 1.7 billion tokens per month. It simplifies access to diverse models through a single endpoint, featuring smart routing, automatic failover, and encrypted key storage. This powerful tool is designed for personal experimentation, allowing developers to leverage multiple free LLM resources efficiently.

TypeScriptLLMAI
Voicebox: The Open-Source AI Voice Studio for Cloning and Dictation

Voicebox: The Open-Source AI Voice Studio for Cloning and Dictation

June 25, 2026

Voicebox is an innovative open-source AI voice studio that allows users to clone voices, generate speech in multiple languages, and dictate into any application. It provides a comprehensive, local-first voice I/O stack, offering a powerful alternative to cloud-based solutions. This tool ensures complete privacy and control over your voice data, running entirely on your local machine.

AIVoice CloningSpeech Synthesis
EasyWhisperUI: A Cross-Platform Desktop App for Whisper Model Transcription

EasyWhisperUI: A Cross-Platform Desktop App for Whisper Model Transcription

June 22, 2026

EasyWhisperUI is a fast, local desktop application designed for transcribing audio and video using the Whisper model. It offers GPU acceleration across Windows, macOS, and Linux, providing a user-friendly interface for various transcription tasks. The application supports features like live transcription, batch processing, and translation, making it a versatile tool for media processing.

TypeScriptWhisperTranscription

Source repository

Open the original repository on GitHub.

View on GitHub
OS
OSRepos

Analysis and discovery of open source repositories. Find interesting projects and follow their updates.

Monitor your website with YourWebsiteScore

OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of third-party repository code is at your own risk. Always review source code, dependencies, licenses, and security implications before running anything.

© 2025 OSRepos. Built with Nuxt 3 and lots of ❤️