# Repository Briefing: mibgb65-cloud/OmniMail-APP
> Source: https://repoforai.com/repo/mibgb65-cloud/OmniMail-APP (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/mibgb65-cloud/OmniMail-APP
- **Official Docs / Website**: https://omnimail.aicnos.com
- **Category**: Chat UI & AI Apps (聊天界面与 AI 应用)
- **Primary Language**: TypeScript
- **License**: MIT
- **Engineering Health**: A (83/100 · Maintenance 35/35 · Adoption 8/25 · Releases 20/20 · License 20/20)
- **Latest Release**: v0.0.1 (2026-11-27) — https://github.com/mibgb65-cloud/OmniMail-APP/releases
- **Review Snapshot**: 2026-12-03
- **Deployment / Stack Signals**: Self-Hosted, Local AI, API
- **Momentum**: 92 ★ total (+6 24h / +65 7d) · 4 forks
- **Topics**: `ai-email`, `desktop-app`, `email-client`, `golang`, `imap`, `local-first`, `privacy`, `react`, `smtp`, `sqlite`, `typescript`, `wails`
- **When to Use**: Best for: Developers and multi-account users who want standard and agent mailboxes in one desktop app, with local archives and a choice of AI endpoints. Skip if: You need a centrally hosted mailbox workspace, verified stable support on a platform not covered by the listed stable installer, or write access to Muse.

## Overview
```text
### Architecture & Core Mechanics
OmniMail is a desktop client, not a mail server. The React 19 and TypeScript 5.9 frontend in `desktop/frontend` uses Vite 8 and crosses a typed Wails v3 bridge into 11 Go services under `desktop/services`. The Go 1.26 core in `desktop/internal` runs without CGO. IMAP uses separate work and IDLE connections so routine mailbox operations do not occupy the connection listening for updates; outgoing mail is managed by a persistent SQLite outbox.

Each local profile has its own SQLite WAL database with FTS5 and a content-addressed Zstd archive for raw `.eml` files. Windows protects stored credentials through DPAPI; the macOS beta introduces Keychain protection for the master key. The reader sanitizes HTML and CSS before Shadow DOM rendering, blocks remote images by default, and serves inline media and attachments through controlled local paths. Meta Muse uses Noise XX over WebSocket for read-only access, while WorkBuddy uses a separate REST integration.

### Key Capabilities & Differentiators
Standard IMAP/SMTP covers custom mail servers alongside presets for Linux.do, Gmail, Outlook, QQ, NetEase, and enterprise providers. Gmail and Outlook support PKCE OAuth2; NetEase has an IMAP ID handshake, and QQ has handling for dropped IDLE connections and GB18030 headers. Replies and forwards are locked to the original receiving identity by default. Undo Send is a configurable 5-, 10-, or 20-second delay before transmission, not a recall, and scheduled jobs survive an app restart.

Translation replaces text nodes in sanitized HTML so tables and links remain in place. AI can summarize messages, extract action items, answer questions about the current mail, and help draft replies via OpenAI, Claude, Gemini, DeepSeek, compatible HTTPS endpoints, or local Ollama. PrivacyGuard blocks detected sensitive messages, excludes headers and attachments from model context, and redacts recognized identifiers before cloud requests. AI drafts still require the user to send them. The app also offers a 30-day rule dry run and `.ics` RSVP handling.

### Trade-offs & Limitations
Compared with a conventional desktop mail client, OmniMail gives users who mix standard accounts with Linux.do, Muse, or WorkBuddy fewer inboxes to switch between. It is less compelling for standard mail alone, especially if the required OS build or workflow is still in beta. Support is not uniform across providers: Muse is read-only, and WorkBuddy has a distinct API and quota model. Per-profile local storage separates workspaces but leaves cache capacity, backup, and recovery with the operator.

Compared with a cloud-account email workspace, OmniMail keeps its archive on the workstation and does not need a vendor account. That does not make every feature offline: cloud AI and networked translation can send eligible message text to an endpoint. Pattern-based redaction is a safeguard, not a guarantee that all sensitive prose is recognized. Local Ollama avoids cloud inference but shifts model memory and compute to the workstation. The MIT license permits commercial use with notice obligations; it does not grant rights to external services.

### Hardware & Deployment Guide
For Windows 10/11 x64, install the matching GitHub Releases package and ensure Edge WebView2 Runtime is present. Release assets include SHA-256 checksums, and the Windows installer supports a separate mail data directory. No OmniMail server, container, or external database is needed. Cached mail and its local index can be used offline; syncing, delivery, and remote AI require network access. Select a local Ollama endpoint if inference must stay on the workstation.

Source builds use Go 1.26+, Node.js 22.19.0, pnpm 12.6.0, Task, and Wails v3; packaging the Windows installer also requires NSIS 3.x. Run `task setup` to install dependencies and `task verify` for checks and tests. The v0.0.1 stable release and v0.0.2 beta series should not be treated as feature-equivalent: beta.1 introduced the macOS Universal package, beta.2 added opt-in verification-code alerts with local or Cloudflare processing, and beta.3 added the contact-based conversation inbox.
```

## Key Capabilities
```text
- Desktop boundary: React 19 and TypeScript 5.9 call 11 Go services through Wails v3; inline media and attachments use separate controlled local endpoints.
- Local mail archive: SQLite WAL and FTS5 handle indexing and search; content-addressed Zstd storage deduplicates raw .eml files.
- Durable sending: Persistent outbox jobs support scheduling across restarts, while Undo Send holds delivery locally for 5, 10, or 20 seconds.
- Provider integration: Linux.do has connection diagnostics; Meta Muse is read-only over encrypted WebSocket, while WorkBuddy uses a native REST integration.
- AI data controls: PrivacyGuard screens sensitive messages, limits context to visible text and an optional subject, and redacts recognized identifiers before cloud inference.
- Conversation workflow: v0.0.2-beta.3 groups mail by contact across accounts and adds inline attachment handling, scheduling, and AI-assisted reply editing.
```

## Quick Start / Clone
```bash
npm install -g pnpm@12.6.0
go install github.com/go-task/task/v3/cmd/task@v3.53.1
go install github.com/wailsapp/wails/v3/cmd/wails3@v3.1.0
wails3 doctor
```
