Zero is an open-source AI email solution that lets you self-host your own email client while integrating external services like Gmail and Outlook. It modernizes email with built-in AI agents for drafting replies, summarizing threads, and automating workflows, all under a data-privacy-first model—Zero never tracks, collects, or sells your data. Licensed under MIT (Apache-style permissiveness), the project welcomes commercial and community contributions, ensuring transparency and extensibility.
How to Use
-
Clone the repository:
git clone https://github.com/Mail-0/Zero.git && cd Zero . -
Install dependencies via Bun (
v1.2+
required) or npm:
bun install or npm install . -
Start PostgreSQL and Redis locally using Docker (
v20+
required):
bun docker:up . -
Copy and configure environment variables:
cp .env.example .env then edit BETTER_AUTH_SECRET, GOOGLE_CLIENT_ID/SECRET, DATABASE_URL, REDIS_URL, REDIS_TOKEN . -
Run database migrations:
bun db:push && bun db:migrate . -
Launch the app:
bun dev → http://localhost:3000 .
Features
-
Unified Inbox: Connect multiple providers (Gmail, Outlook, etc.) into one interface.
-
AI Agents: Compose replies, summarize long threads, extract action items, and triage emails via LLMs in-app.
-
Self-Hosting Freedom: Run Zero on your own infrastructure, with full control over data and uptime.
-
Privacy-First Design: Zero does not track or sell data; encryption and access remain under your control.
-
Customizable UI: TailwindCSS and Shadcn UI make it easy to theme and extend client-side features.
-
Developer-Friendly: Built with Next.js, React, TypeScript on the front end; Node.js, Drizzle ORM, PostgreSQL on the back end.
Suitable Scenarios
-
Enterprise Self-Hosting: Deploy Zero in private clouds or on-prem servers to meet strict compliance and privacy requirements.
-
Personal Data Control: Manage personal and work emails locally without relying on third-party servers.
-
AI-Enhanced Productivity: Use built-in summarization and drafting tools to handle high-volume inboxes.
-
Developer Integrations: Extend via API hooks, custom plugins, or integrate into CI/CD pipelines for automated email testing.
-
Rapid Prototyping: Spin up a local email client for demos, user testing, or internal tools in minutes.
Libre Depot original article,Publisher:Libre Depot,Please indicate the source when reprinting:https://www.libredepot.top/5401.html