Zero
Experience email the way you want with Mail0 – the first open source email app that puts your privacy and safety first. Join the discord: https://mail0.link/discord
Automatically checked · GitHub checked 2026-11-29

Good fit for
Zero suits people who want a self-hosted, open-source email app with AI agents and a unified inbox across providers such as Gmail and Outlook.
Before you switch
The project is MIT-licensed and written primarily in TypeScript, but adopters must account for self-hosting needs and the privacy terms of external providers whose data handling is outside the project's control.
Overview
Zero
An Open-Source Gmail Alternative for the Future of Email
What is Zero?
Zero is an open-source AI email solution that gives users the power to self-host their own email app while also integrating external services like Gmail and other email providers. Our goal is to modernize and improve emails through AI agents to truly modernize emails.
Why Zero?
Most email services today are either closed-source, data-hungry, or too complex to self-host. 0.email is different:
- ✅ Open-Source – No hidden agendas, fully transparent.
- 🦾 AI Driven - Enhance your emails with Agents & LLMs.
- 🔒 Data Privacy First – Your emails, your data. Zero does not track, collect, or sell your data in any way. Please note: while we integrate with external services, the data passed through them is not under our control and falls under their respective privacy policies and terms of service.
- ⚙️ Self-Hosting Freedom – Run your own email app with ease.
- 📬 Unified Inbox – Connect multiple email providers like Gmail, Outlook, and more.
- 🎨 Customizable UI & Features – Tailor your email experience the way you want it.
- 🚀 Developer-Friendly – Built with extensibility and integrations in mind.
Tech Stack
Zero is built with modern and reliable technologies:
- Frontend: Next.js, React, TypeScript, TailwindCSS, Shadcn UI
- Backend: Node.js, Drizzle ORM
- Database: PostgreSQL
- Authentication: Better Auth, Google OAuth
Getting Started
Video Tutorial
Watch this helpful video tutorial on how to set up Zero locally:
Prerequisites
Required Versions:
Before running the application, you'll need to set up services and configure environment variables. For more details on environment variables, see the Environment Variables section.
Setup Options
You can set up Zero in two ways:
Standard Setup (Recommended)
Environment Setup
- Better Auth Setup