zhihui-hu

zhihui-hu / one-mail

Public

OneMail 是一个本地优先的桌面邮件客户端,使用 Electron + React + TypeScript 构建。它通过 IMAP 同步邮件到本地 SQLite,支持多邮箱聚合、邮件筛选、正文安全预览、附件下载和 SQL 备份导入导出。

17
4
100% credibility
Found May 20, 2026 at 17 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
TypeScript
AI Summary

OneMail is a desktop email application that brings all your email accounts into one place. It works completely offline by storing emails on your computer, keeps your passwords encrypted and secure, and lets you read, write, and organize emails with a clean interface similar to Gmail. You can connect many email providers (Gmail, Outlook, QQ, NetEase, and many others), filter emails quickly, and safely preview HTML messages without being tracked. Everything stays private on your device, and you can back up or restore your data anytime.

How It Works

1
📧 You download and install OneMail

You get the app from the website and install it on your computer, just like any other desktop program.

2
🔑 You connect your email account

You click 'Add Account' and choose your email provider from the list. The app helps you enter your email address and password securely.

3
🔒 Your password is encrypted automatically

The app locks your credentials with strong encryption so they stay safe on your computer, never sent anywhere else.

4
📥 Your emails sync to your computer

The app quietly downloads your emails from your provider and stores them locally, so you can read them even without internet.

5
You want to read or write emails
👀
Reading emails

Click any email to read it safely. HTML messages show without remote images to protect your privacy.

✍️
Writing emails

Click compose to open a Gmail-style window. Reply, forward, or write new messages with formatting and attachments.

6
📎 You download attachments

When an email has files, you see them in a table and choose exactly where to save them on your computer.

💾 Your data is backed up safely

You can export everything to a backup file anytime, or restore from a previous backup if needed. Your emails stay yours.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 17 to 17 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is one-mail?

OneMail is a desktop email client that keeps your mail local. Built with Electron, React, and TypeScript, it connects to your accounts via IMAP and stores everything in a local SQLite database. You get a unified inbox across multiple accounts, fast filtering by unread/attachments/starred, and a Gmail-style composer for composing and replying. Attachments stay as metadata until you explicitly download them, and HTML emails render in a sandboxed preview that blocks remote images by default. Your credentials are encrypted with AES-256-GCM, and you can export or import the entire database as SQL for backup.

Why is it gaining traction?

The local-first approach is the hook. Unlike webmail or cloud sync clients, your mail headers and bodies live on your machine. The safe HTML preview is a genuine privacy win -- no more tracking pixels firing when you open a newsletter. The SQL backup feature is rare in this space: you own your data in a portable format. Provider presets for Gmail, Outlook, QQ, NetEase, and dozens of others mean you do not hunt down IMAP settings. The read-state sync (marking messages read locally and pushing that back to the server) is a thoughtful touch for power users.

Who should use this?

Developers who want a privacy-respecting desktop mail client with local data ownership. Power users managing multiple personal accounts who need unified inbox and fast filtering. Anyone frustrated with webmail tracking and wanting a clean, configurable alternative. Organizations with compliance requirements that demand mail never leaves the local machine.

Verdict

OneMail solves real problems, but the 1.0% credibility score and 17 stars tell the story: this is early-stage software. The tech stack is modern (Electron 39, React 19, TypeScript 5.9), the feature set is solid, and the AGPL license is clear about what you can do with it. Test coverage exists but documentation is sparse. Worth watching, but wait for a stable release before betting your workflow on it.

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.