Zero logo

Zero

Self-hosted AI-enhanced email client with unified inbox

Zero lets you self‑host a modern email app, combine Gmail, Outlook and others into one inbox, and boost messages with AI agents—all while keeping your data private.

Zero banner

Overview

Overview

Zero is a self‑hosted email platform designed for developers, privacy‑conscious users, and teams that need full control over their communications. It aggregates Gmail, Outlook and other providers into a single, searchable inbox while offering AI‑driven assistants to draft replies, summarize threads, and suggest actions.

Capabilities

The solution ships with built‑in AI agents that run on popular LLM APIs, a customizable UI built with Next.js and TailwindCSS, and extensible back‑end hooks for integrations such as Twilio SMS or custom webhooks. All data resides in your own PostgreSQL instance, ensuring privacy and compliance.

Deployment

Zero runs on any system that supports Docker, Node.js v18+, and PostgreSQL. The repository provides a quick‑start script, Docker Compose for the database, and detailed environment‑variable setup for Google OAuth, Better Auth, and optional services. After cloning, installing dependencies with pnpm, and configuring the .env file, the app launches locally at http://localhost:3000.

Highlights

Open‑source with full transparency
AI‑driven email assistants and LLM integration
Unified inbox across Gmail, Outlook and other providers
Docker‑based self‑hosting with PostgreSQL

Pros

  • Complete data ownership and privacy
  • Extensible architecture for custom plugins
  • Out‑of‑the‑box AI features boost productivity
  • Simple Docker deployment for most environments

Considerations

  • Requires technical knowledge to set up and maintain
  • No native mobile applications yet
  • AI capabilities depend on external LLM services
  • External provider integrations follow their own policies

Managed products teams compare with

When teams consider Zero, these hosted platforms usually appear on the same shortlist.

Gmail logo

Gmail

Email service with spam protection and Google integration

Looking for a hosted option? These are the services engineering teams benchmark against before choosing open source.

Fit guide

Great for

  • Organizations needing on‑premise email with AI assistance
  • Developers who want a customizable mail client
  • Privacy‑focused users avoiding cloud tracking
  • Teams that consolidate multiple email services

Not ideal when

  • Users seeking a ready‑to‑use mobile app
  • Non‑technical households without Docker experience
  • Environments lacking PostgreSQL or Docker support
  • Projects requiring guaranteed AI uptime without external APIs

How teams use it

Consolidate corporate mailboxes

All employee Gmail and Outlook accounts appear in a single searchable inbox, reducing context switching.

AI‑assisted email triage

LLM agents draft replies, summarize threads, and suggest actions, cutting response time by half.

Self‑hosted email for regulated industries

Data stays on‑premise, meeting compliance while still offering modern UI and AI features.

Custom workflow extensions

Developers add plugins via the Node.js backend to trigger Slack notifications or CRM updates directly from email events.

Tech snapshot

TypeScript99%
CSS1%
Dockerfile1%
Shell1%
JavaScript1%

Tags

aiemailprivacysecurity

Frequently asked questions

What platforms can I run Zero on?

Any OS that supports Docker and Node.js, including Linux, macOS, and Windows.

Do I need an external AI service?

Zero provides hooks for popular LLM APIs (e.g., OpenAI, Anthropic); you must supply a valid API key.

Is my email data stored locally?

Yes, all synced messages are stored in your PostgreSQL database; external provider data remains subject to their own policies.

Can I use Zero with existing Gmail accounts?

Yes, integration is handled via Google OAuth and the Gmail API.

How is authentication handled?

Zero uses Better Auth with support for Google OAuth and can be extended to other authentication providers.

Project at a glance

Stable
Stars
10,361
Watchers
10,361
Forks
1,271
LicenseMIT
Repo age12 months old
Last commit5 months ago
Self-hostingSupported
Primary languageTypeScript

Last synced yesterday