emailops/emailops
소개
Desktop email client with AI that runs on your computer. Chat with your inbox, draft replies and extract data from Gmail, Outlook and IMAP, with no email sent to the cloud.
생산성 및 자동화What you can do
- Multi-account email: Gmail, Outlook / Microsoft 365 (Graph API), and IMAP/SMTP (iCloud, Yahoo, Fastmail, ProtonMail Bridge, custom servers)
- Unified inbox: read and triage mail from all your accounts in a single combined view
- Light and dark themes: pick one, or follow the operating system
- Triage like Gmail or Outlook: archive, star, mark as unread and snooze conversations, act on many at once, undo an archive or delete, and drive it all from the keyboard (? lists the shortcuts)
측정된 스타 증가
- in 24h
- 0
- in 7 days
- +4
- in 15 days
- +12
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalEmailOps
Privacy-first, Local AI-native desktop email client for macOS, Windows, and Linux.
Documentation · Subscribe to the newsletter
Screenshots

Download
- macOS: EmailOps-macos.dmg
- Windows: EmailOps-windows-setup.exe (recommended — Vulkan GPU acceleration, auto-detects a compatible driver and falls back to CPU). NVIDIA users can instead get the CUDA build. The installer is code-signed, but while the certificate is new Windows SmartScreen may still show "Windows protected your PC" on first run: click More info, check the publisher, then Run anyway (details).
- Linux: EmailOps-linux.AppImage (no install needed) or EmailOps-linux.deb for Debian/Ubuntu.
All installers, checksums, and older versions are on the Releases page.
💬 Questions, ideas or feedback? Join us in Discussions. And if EmailOps is useful to you, a ⭐ helps a lot.
Features
- Multi-account email: Gmail, Outlook / Microsoft 365 (Graph API), and IMAP/SMTP (iCloud, Yahoo, Fastmail, ProtonMail Bridge, custom servers)
- Unified inbox: read and triage mail from all your accounts in a single combined view
- Light and dark themes: pick one, or follow the operating system
- Triage like Gmail or Outlook: archive, star, mark as unread and snooze conversations, act on many at once, undo an archive or delete, and drive it all from the keyboard (
?lists the shortcuts) - Undo send and scheduled send: take a message back for a few seconds after Send, or schedule it for later (EmailOps must be open when it goes out)
- Signatures: one per account, with images, inserted in new messages and/or replies and forwards; Gmail signatures can be imported
- Unsubscribe and block sender: one-click unsubscribe that tells you what it will contact, and a block that files a sender's mail in Spam
- New-mail notifications: desktop notifications per account, with the content optionally hidden
- Calendar: per-account month/week/day views for Google Calendar and Outlook and get meeting reminders with a one-click Join button for Meet / Teams / Webex / Zoom links
- Chat with your emails: use AI to answer questions about your emails, generate drafts, ...
- AI email classification: auto-tag emails by priority, intent, and topic using configurable rules + local AI
- Smart filters: filter inbox by domain, sender, or classification tags
- Tag Board: a grid of blocks, one per company, priority, intent or topic, listing each thread under its newest tag — ordered by how much you actually engage with each tag
- AI draft generation: context-aware reply drafts using persona + thread history
- Attachments view: organize and access your attachments directly without searching in emails
- AI provider abstraction: embedded llama.cpp (default), local Ollama, or remote OpenRouter — switchable per feature
- Headless CLI: script your inbox from the terminal with
emailops-cli— same service layer as the app, stable--jsonoutput for scripts and agents
Data + privacy model
- Email content: stored locally in SQLite in your OS app data directory.
- OAuth tokens: stored in the OS keychain via the Rust
keyringcrate (not in files). - AI: by default runs in-process via the embedded llama.cpp runtime — no separate daemon, no network calls. Switching the provider to Ollama or OpenRouter is opt-in per feature.
- Network: external calls are limited to email provider APIs (Gmail, Microsoft Graph, IMAP/SMTP servers you configure) and — only if you've explicitly enabled it — the OpenRouter API.
Troubleshooting
- AI not available: by default models run via embedded llama.cpp; make sure the recommended model has finished downloading from the in-app model manager. If you've switched the provider to Ollama, ensure the daemon is running and reachable at
http://localhost:11434. - Semantic search returns keyword results: generate embeddings from the in-app settings
- Chat is slow: depending on your machine and the model used this feature can take dozens of seconds. Try with a smaller model. We're working on making it faster
The sections below are for developers building EmailOps from source.
Tech stack
- Desktop: Tauri 2.x
- Backend: Rust (Tokio, rusqlite, reqwest, oauth2, keyring)
- Frontend: React + TypeScript (Vite)
- State: Zustand
- Styling: Tailwind CSS
- AI: embedded llama.cpp runtime (default); optional Ollama (
http://localhost:11434) or OpenRouter backends
Prerequisites
- Node.js (recommended: latest LTS) + npm
- Rust toolchain (stable) + Cargo
- Tauri system dependencies
- Follow the official Tauri prerequisites for your OS:
https://tauri.app/start/prerequisites/
- Follow the official Tauri prerequisites for your OS:
- CMake + a working C++ toolchain — required to build the embedded
llama-cpp-2crate. On macOS, Xcode Command Line Tools cover this. - Ollama is optional. Only install it if you want to route AI through Ollama instead of the embedded llama.cpp runtime:
- Install Ollama:
https://ollama.com/ - Start the daemon and pull whichever models you plan to use, e.g.:
- Install Ollama:
ollama pull llama3.2
ollama pull nomic-embed-text
OAuth setup (required for Gmail / Outlook accounts)
Gmail: create OAuth credentials in Google Cloud Console (type: Desktop app, enable the Gmail API and — for the calendar view — the Google Calendar API)
Outlook / Microsoft 365: register an application in the Microsoft Entra admin center with the Graph API mail scopes (a public-client / desktop redirect); calendar access uses the dynamically-consented
Calendars.ReadWritescopeIMAP / SMTP accounts don't need OAuth — add them directly from the in-app onboarding wizard.
Copy
.env.exampleto.env.localin both the project root andsrc-tauri/:cp .env.example .env.local cp src-tauri/.env.example src-tauri/.env.localFill in your Gmail and/or Outlook credentials in both
.env.localfiles.
Running the app (dev)
Common workflows are wrapped in the top-level Makefile. The most useful targets:
make install # npm install + lefthook install
make dev # run Tauri against the repo-local dev data directory
make dev-fresh # run against a throwaway data dir (safe for experiments)
make check # lint + typecheck + clippy + Rust + frontend tests
make test # cargo tests
make test-fast # cargo tests with the embedded llama.cpp feature disabled (faster iteration)
make build # production frontend build
make demo # launch against a synthetic demo DB (auto-generated on first run)
make dev stores app data under an ignored repo-local directory by default.
Set EMAILOPS_DATA_DIR=... in .env.local when you need to point local
workflows at a different app data directory.
If you'd rather not use make:
npm install
npm run tauri dev # full desktop app
npm run dev # frontend-only in a browser
See the Makefile for the full list (release/notarization targets, evaluation manifests, etc.).
Command-line interface (emailops-cli)
emailops-cli is a power-user / agent-driven CLI over the same service layer the
desktop app uses (no AppHandle, no webview). It operates on the real data
dir, so read commands are always safe to run while the app is open (SQLite WAL);
heavy write commands (sync, classify, embed) are best run with the app
closed. It is gated behind the cli cargo feature, so it never compiles into
default/release desktop builds.
Power users: see
docs/cli-user-guide.mdfor installing the standaloneemailops-clibinary and scripting your inbox with--json/jq. The notes below are the contributor (build-from-source) view.
make cli # build the bin (with embedded llama.cpp)
make cli-run ARGS="accounts --json" # build + run (with llama.cpp)
make cli-fast ARGS="search invoice --json" # build + run, llama.cpp disabled (faster)
make cli-fast # no subcommand → interactive REPL
make cli-eval ARGS="--tier smoke --json" # run chat eval cases (needs cli,eval)
Subcommands (each accepts the global flags --json, --quiet,
--data-dir <DIR>, --account <id|email>, --model <model>):
| Command | Purpose |
|---|---|
accounts |
List configured accounts |
emails [--limit N] [--mailbox inbox|sent|spam|trash] |
List recent emails |
show <id> |
Show one email (headers + body) |
search <query> [--limit N] |
Full-text search an account's mail |
chat <question> [--trace] |
Ask one question; streams the answer (--trace adds route/retrieval/tool timings) |
sync [account] |
Download new mail |
calendar [--days N] [--next] [--sync] |
Upcoming calendar events for one account (--next = next meeting only) |
classify [--all] |
Classify new (or all) emails |
embed [--batch N] |
Generate search embeddings |
doctor |
Read-only environment readiness report (DB, accounts, AI config) — loads no model |
eval [--case ID] [--tier T] |
Run chat eval cases through the shared harness (requires the eval feature) |
Running with no subcommand drops into an interactive REPL: bare text is a
chat turn (tokens stream live), and /-prefixed lines map onto the same
subcommands (/search, /account, /sync, /help, /quit, …).
Machine-readable output. With --json, every command prints one stable
envelope to stdout so agents and scripts can parse a single shape on success or
failure:
// success
{ "ok": true, "data": { /* command result */ }, "error": null }
// failure (same error shape as the Tauri boundary)
{ "ok": false, "data": null, "error": { "code": "not_found", "params": { … }, "message": "…" } }
Logs go to stderr (so stdout stays a clean data channel); --quiet keeps
only errors. The process exit code is grouped by remediation: 0 success,
2 invalid input, 3 not found, 4 auth, 5 network/sync, 6 AI,
130 cancelled, 1 otherwise.
Bundled Model License + Attribution
EmailOps bundles one embedding model in macOS releases:
nomic-embed-text-v1.5-q4_k_m.gguffrom Nomic AI (GGUF conversion)
Attribution and license terms for bundled/discoverable models are tracked in MODEL_LICENSES.md. Please review those terms before redistributing binaries.
Git hooks
The repo uses lefthook to run lint, typecheck, clippy, fmt, and tests on pre-commit / pre-push. make install wires them up automatically; if you ran npm install directly, install them with:
npx lefthook install
# or:
make hooks
Contributing
See CONTRIBUTING.md for setup instructions, coding standards, and PR guidelines.
Security
See SECURITY.md for the privacy/security model and how to report vulnerabilities.
License
관련 프로젝트 살펴보기
불러오는 중…