Local-first · AI-enhanced · the classic desktop email experience, back. v0.9.9 adds signature HTML import + delete reconciliation (consistent across devices), and v0.9.3 brings system-level credential custody (zero credential plaintext in the local database); mail data is encrypted locally, the SJ-AI assistant is built in, and IMAP/SMTP plus eYou CAPI are supported.
SJ-Mail Email Client
v0.9.9
A Windows / macOS desktop and Android mobile email client built for heavy mail users. v0.9.9 adds signature HTML import (.html file / pasted source with a dedicated sanitizer — enterprise signature templates in one step) plus delete reconciliation (mail deleted elsewhere is cleaned up locally, consistent across devices); v0.9.3 brings system-level credential custody (passwords / OAuth / CAPI / AI keys in the OS credential manager — zero plaintext in the local database). Messages and credentials are stored locally with encryption, and the built-in SJ-AI assistant can search, summarize, draft, translate, and analyze attachments — every sensitive action goes through your approval. v0.9.1 brings a full attachment-download upgrade (real-time progress and speed, one-click cancel, no overall timeout, uninterrupted when switching mail), and v0.9.0 opens AI agent access over the standard MCP protocol (external agents can search mail and draft replies — sending always returns to the app for your confirmation); v0.8.0 adds VIP contacts (client / leader / colleague / family relationship tagging, automatic inbound recognition, AI profiles built and refreshed on a schedule, pre-send spelling / attachment / sensitive-info checks), a Contacts Hub redesign (standalone window, three-way concurrent global search, cross-account address-book dedup, contact groups), and large-list virtualization (thousands of emails scroll smoothly); v0.7.x capabilities — read tracking, replied/forwarded flags, the unified address book — all remain available.
Local-firstAI-enhancedMulti-account🤖 AI agent access (MCP)📥 Attachment download upgrade⭐ VIP contacts🛡 Pre-send AI checks🗂 Contacts Hub redesign⚡ Large-list virtualization📨 Email read tracking↩️ Replied / forwarded flags📇 Unified address book📎 Forward as attachment🧠 Profiles in AI contextIMAP/SMTPeYou CAPI🌏 Domestic platform adaptation in progressZH / EN / JA / KO
🌏 Domestic Innovation (Xinchuang) / Localized Platforms — In Progress
Domestic operating systems and CPU architectures coming soon
For government, state-owned enterprise, and domestic-innovation scenarios, SJ-Mail is being adapted to mainstream domestic operating systems, with private deployment, local LLMs, and fully self-controlled data.
🐉
Kylin V11
x86-64 / ARM (Phytium) / Loongson
Desktop adaptation · coming soon
Coming soon — stay tuned
🐧
UnionTech UOS
x86-64 / ARM / Loongson
UOS desktop adaptation · coming soon
Coming soon — stay tuned
🌐
HarmonyOS
ARM · native HarmonyOS
HarmonyOS PC / device adaptation · planned
Coming soon — stay tuned
Need early adaptation / a POC in a domestic-innovation environment? Contact sales for private deployment and localization options.
v0.9.9 Release Notes
Signature HTML import & compose refinements — enterprise signature templates in one step, consistent deletes across devices
Signature HTML import (headline, v0.9.9): import from .html files or paste source directly, with a dedicated HTML sanitizer filtering dangerous tags and attributes; "Set as default" right next to the compose-window signature dropdown.
Delete reconciliation: mail deleted elsewhere (web / phone) is automatically cleaned up locally — consistent across devices; local archives are unaffected.
CAPI Sent-copy fix: fixed CAPI sends not saving a copy to Sent — corporate mail no longer loses sent records.
Compose refinements: two-level placeholder hints for replies/forwards, cursor-positioning fix; app-wide form placeholder polish (lighter italic on focus); misc UI & i18n fixes. Windows x86-64 and macOS universal DMG v0.9.9 released (code-signed, dual-channel OTA); Windows ARM64 latest v0.9.1.
Optional body preview in the mail list: new Settings → Appearance toggle (off by default — list shows sender and subject only).
Delete confirmation dialog against accidental deletion (all entry points); single click no longer loses multi-select; reading pane cleared after account removal; recipient suggestions match from 1 character; stuck body loading recoverable by re-click; readable sync-failure messages with auto-retry; window position & size remembered; clear MFA failure reasons.
v0.9.7 Release Notes
Deep adaptation for Sinopec-style eyou environments — org directory + full CardDAV sync
Enterprise contacts sync (headline, v0.9.7): org contacts via the eyou jsonapi online directory + full two-way personal CardDAV sync (local edits merged back, unmapped server-side properties preserved); wired into the recipient picker and autocomplete; four-language UI copy.
Attachments take system file-type icons; Contacts Hub layout rework with multi-select enhancements; new MCP tool get_email_headers; fixes for read-row font weight, hover-preview flicker, Sinopec IMAP JWT auth rejection, OHOS dialogs and more.
v0.9.6 Release Notes
Fix: CAPI org contacts / contact sync unavailable
Fix: keyring-state CAPI accounts failed to open the contacts directory ("Failed to get domain list: No CAPI access token") — root cause was a discarded credential-materialization result; org contacts, contact sync and recipient autocomplete restored, with a three-layer regression test to prevent recurrence. CAPI users are advised to update promptly.
v0.9.5 Release Notes
Signatures support local images
Local images in signatures (headline, v0.9.5): pick files or paste directly in the signature editor (data URL storage); images are synthesized into inline attachments on send (cid dedup), rendered correctly on the recipient side per standard Content-ID — corporate signature templates and logo signatures done right in the client.
v0.9.4 Release Notes
End-to-end large-attachment timeout treatment — the sending direction
Large-attachment send/forward fixes (headline, v0.9.4): CAPI uploads relaxed to 10 minutes (fixes "send failed: upload error"); SMTP send-receipt window relaxed to 5 minutes (prevents false failures and duplicate sends); forwarding a whole large mail and AI attachment downloads move to a no-overall-timeout channel; opening image-heavy mail / syncing large folders relaxed to 2 minutes.
Fixed "credentials unavailable" errors on CAPI attachment download / forward / org contacts / contact sync; three mail rendering/sending bugs; recipient-field focus in the contact panel; occasional app disappearance when switching language. All CAPI users advised to update.
v0.9.3 Release Notes
Security milestone: account credentials migrate to the system credential manager — zero plaintext in the local database
System-level credential custody (headline, v0.9.3): account passwords, OAuth tokens, CAPI credentials and AI keys all move into the OS credential manager (Windows Credential Manager / macOS Keychain / Kylin secret-service); automatic migration on first launch (1-3 seconds, idempotent retries); credentials wiped the moment an account is removed.
Degradation protection: when the system key service is unavailable, password-class credentials fall back to local AES-256-GCM with a persistent warning — credentials never hit the disk in plaintext; settings page shows the credential backend status and an AI-key clear entry.
Fixed credential materialization across background sync and MCP attachment downloads. All users advised to update (compliance-audit ready); rolling back below 0.9.3 requires re-entering passwords, upgrading back restores them.
v0.9.2 Release Notes
Fix: compose formatting buttons unresponsive in production builds + MCP tool enhancements
Compose formatting restored (headline, v0.9.2): fixed bold / italic / underline / text-color "clicking does nothing" in production builds (CSP nonce silently blocking inline styles), with mail-body formatting restored accordingly. All users advised to update.
MCP enhancements: VIP contacts pinned in global contact search; new tools for saved attachments and VIP portraits (56 tools total).
A full attachment-download upgrade — no overall timeout, progress and speed visible throughout, cancellable anytime, uninterrupted when switching mail
No overall timeout for attachment downloads (headline, v0.9.1): the "error decoding response body" that doomed any download beyond 15 seconds is fixed for good — the overall timeout covering the entire transfer is removed, keeping only a 10-second connect timeout and a 120-second no-traffic stall guard, so attachments of any size download completely; supported across the main window, standalone reading windows, and mobile.
Progress bar & real-time speed: a progress bar embedded in the attachment row shows percentage and download speed in real time; when the server provides no size, it shows downloaded bytes and speed (indeterminate mode) — the whole download is visible.
One-click cancel, uninterrupted by switching mail: cancel anytime next to the progress bar (a neutral prompt — download again anytime); switching mail / accounts mid-download doesn't interrupt it; completion actions take a context snapshot — download history is attributed precisely to the original mail, never mismatched to the wrong subject.
Windows x86-64 and ARM64 v0.9.1 released in sync (code-signed, OTA isolated per architecture); macOS upgraded to v0.9.1 in step (Intel / Apple Silicon dual channels); Android current release is v0.7.7
v0.9.0 Release Notes
AI agent access (MCP) is this release's headline — opening local mail capabilities to the AI clients you already have, over a standard protocol
AI agent access (headline, v0.9.0): SJ-Mail exposes a stdio entry, sj-mail-mcp, over the standard MCP protocol — external AI clients such as Claude Desktop connect directly after a one-time setup: browse folders, read mail, search contacts, query schedules, and draft replies. Ships with a dedicated "Agent Access" panel, a first-run onboarding bubble, zero-write detection for installed AI clients, and in-package access documentation. Drafts always return to the compose window for your confirmation before sending.
Silent sending doubly blocked: AI can draft, but it cannot send for you — the send tool is removed at the MCP tool-registry level (compose_send is not exposed), and every mail drafted by an external agent automatically opens the SJ-Mail compose window for you to review and send by your own hand. There is no silent send channel.
MCP runs independently: read operations read the shared local database directly, without the main app running; write operations (such as drafting a reply) launch the app on demand to complete. As long as your AI client is up, SJ-Mail doesn't need to be.
Experience & fixes (v0.9.0): streaming Chinese garbling cured (incremental SSE UTF-8 decoding — no more chunk-boundary garbling); "Move to" becomes a searchable dropdown menu (FolderPickerMenu); the default font upgrades to Alibaba PuHuiTi 3.0; the writing-assistant panel is expanded by default; the UI language follows the system by default; AI schedule-creation date drift fixed with a multi-account picker; visible reasoning; continued UI polish (unread visibility / proportional body-image scaling / tiered toolbar / unified summary-card styling).
Everything in v0.8.0 remains available: VIP contacts, Contacts Hub redesign, large-list virtualization, the all-new brand, and more.
v0.8.0 Release Notes (previous release)
VIP contacts, Contacts Hub redesign, large-list virtualization, all-new brand — extending AI from "reading mail" to "maintaining relationships"
VIP (important) contacts (headline, v0.8.0): tag contacts as client / leader / colleague / family / custom from contact details, org directory, or the reading pane; inbound mail from VIPs is auto-flagged on arrival; marking a contact auto-builds an AI profile with scheduled refresh (four-condition scheduling + quota + 429 backoff, globally toggleable); before sending to a VIP, AI checks spelling / attachments / sensitive information (protocol v3.14, tone judged by relationship), fail can block, offline local rules apply, and nothing ever silently passes.
Contacts Hub redesign (v0.8.0): a standalone-window contact hub (scoped read-only embedded view in the main window); three-way concurrent global search across local + org + VIP (VIP pinned ⭐); unified personal address book (local namespace) deduplicated across accounts; contact groups with left-groups-right-members layout and column-width drag; split-button "new contact" with "pick from directory" prefill.
Large-list virtualization (v0.8.0): virtual scrolling for the mail list (a 4,351-row DOM shrinks to the viewport subset, with a full-render fallback switch); contact list virtualization in list view; sticky single date-group header with rAF throttling; selection follows scrolling across groups (j/k navigation); rAF-throttled column-width dragging.
Full UI polish pass (v0.8.0): all P1-P3 issues from four external design-review rounds fixed; mail area reorganized (search into the folder bar / select-all merged into the count row / 200-selection cap); richer hover preview (recipients / relative dates / replied-forwarded badges / local long summary); body width adapts to the viewport (clamp 720px-1100px) with fixed-width legacy-mail cleanup; second-generation brand icons and wordmark rolled out everywhere.
Enterprise push stability (v0.8.0, four fixes): a 50s read_timeout on EVIM long-polling so black-dead connections after network loss / sleep no longer freeze push; reconnect re-reads device_key / access_token; push_mailchange syncs read/star state of existing mail; token expiry (12008) pops a re-auth guide and MFA can be re-entered.
Send & sync hardening (v0.8.0): oversize attachments are preflighted before queueing and classified as permanent failures (ending retry-storm CPU burn); background-sync badge residue fixed; unread counts unified to the server-side definition; draft-list jump-to-bottom fixed; signature / empty-draft root cause fixed; opening uncached bodies offline no longer flashes a red error.
Everything in v0.7.x remains available: sj-track read tracking, replied/forwarded flags, unified address book, first-run AI onboarding, full security hardening, self-service API key reset, and more.
Windows x86-64 v0.8.0 officially released (code-signed); macOS v0.8.0 on both channels (Intel / Apple Silicon); Windows ARM64 has since been upgraded to v0.9.1 (released in sync with x86-64); Android current release is v0.7.7
v0.7.6 Release Notes (previous release)
Read tracking, replied / forwarded flags, unified address book — the v0.7.x series finale
Email read tracking (sj-track, v0.7.1): toggle tracking with one click when composing (whole-message / per-recipient granularity); sent-list read badges (requested / read / partial) and "M of N recipients have read"; a read-details panel shows per-recipient open status and reading environment (region / OS / client / device); transparent quota usage (remaining / limit / period); recipients' side auto-detects tracking beacons with policy-based prompts and MDN receipt support; self-opens and security-gateway bot crawls (bot_open) no longer count as reads.
Replied / forwarded flags (v0.7.6): indicators in the list, preview, and reading window; after replying / forwarding, server flags are written back automatically (IMAP \Answered / $Forwarded), syncing bidirectionally with the server — consistent across devices, monotonic (never unset); replies / forwards automatically carry the original message context (replyContext).
Unified personal address book (v0.7.6): a merged aggregate view of personal contacts across accounts, deduplicated by email address; composing to a contact routes sending through its owning account automatically.
First-run AI onboarding (v0.7.2): a one-time guided tour of the AI morning briefing / writing assistant / reading tools at first launch, with one-click activation straight to API key request — zero-friction setup for new users.
Title-bar / toolbar unification (v0.7.2): system title bar and toolbar merged into a single row for a borderless, space-saving window; settings / dark mode / font-size entries moved to a bottom-left quick bar; popups unified with mutual exclusion (open-new-closes-old / outside click / Esc).
Full-stack security hardening (v0.7.3): CSP configured and the frontend global command channel closed, sealing the email XSS attack chain; OTA download and update checks bound against hijacking; account password sentinel masking on the frontend; attachment privilege-escalation reads and direct executable-open interception blocked.
Coremail missed-mail fix (v0.7.2 / v0.7.3): servers such as 126 / 163 / yeah silently dropped batches of new mail due to a UID-range query flaw — switched to full query plus client-side filtering, with backfill for previously missed mail; lenient decoding for non-standard encoded subject lines.
Compose experience (v0.7.1 ~ v0.7.5): clipboard images inlined in the body (cid), drag-resize and insert-image for body pictures, full-size body image viewer (zoom / pan); bold / italic / underline / strikethrough / text color / highlight / font family / font size all fixed; byte-true progress for large attachments; drafts deleted only after successful delivery; replies to image-heavy mails of any size work normally (in-memory channel).
Two-step account setup (v0.7.3): step one asks only for your email address; step two auto-guesses / pre-fills connection settings (imap.<domain> / smtp.<domain>), with "change connection method" available anytime.
Fixes: duplicate drafts from "edit again" on drafts; unresponsive Gmail authorization button; system folders like "Sent" being accidentally renameable; dark-mode "white-on-white" body text and non-inverted dark text, independent windows not following the theme, and more.
Everything in v0.7.0 remains available: self-service API key reset, tray-style AI chat panel, real usage dashboard, full-repo async command migration, and more.
Windows x86-64 and ARM64 v0.7.6 officially released; Android v0.7.7 now available (ARM64 APK); macOS was on v0.7.0 at the time
v0.7.0 Release Notes
Self-service API key reset, tray-style AI chat panel, real usage dashboard — AI with more peace of mind
Self-service API key reset: API keys are stored as hashes only — previously, losing one meant finding an admin; since v0.7.0, if the application says the account already exists, you can start a self-service reset inline — it only sends a confirmation email and makes zero changes to account state; follow the email instructions to verify, receive a new key, and have all old keys revoked at once, with the client applying the new key automatically.
Tray-style AI chat panel: the chat dialog can be minimized to a tray at the bottom-right, with a notification when streaming finishes — long tasks like lengthy translations or batch summaries can run in the background.
Split AI assistant button: the main area opens the chat dialog directly; the dropdown arrow opens the configuration / usage menu — fewer layers of navigation.
Usage dashboard on real data: placeholder data replaced with real server-side usage queries, showing quota reset policy; only total tokens and request counts — cleaner information.
Clear out-of-quota messaging: the compose / translate / summarize / profile endpoints uniformly detect quota blocks and show guided messaging when quota is exhausted.
Frontend freezes eliminated for good: all synchronous blocking commands across the repo made async — a slow CAPI no longer hangs the whole app.
Account entry improvements: adding accounts is smoother, error feedback is routed closer to its source, and guidance appears when AI is not configured.
Fix: permanent quota switched to a cumulative basis with the time window hidden, removing the "this month vs permanent" confusion; usage panel period-section wrapping and copy improvements.
Everything in v0.6.0 remains available: forward-as-attachment, profiles in AI context, font size tiers, system integration (mailto/.eml), and more.
Windows x86-64 and ARM64 v0.7.0 officially released; macOS v0.7.0 released
View earlier release notes (v0.6.0)
v0.6.0 Release Notes
Forward as attachment, profiles in AI context, font size tiers — a more professional email experience
Forward as attachment: the forward button becomes a split dropdown; the entire original message is packaged as a .eml (message/rfc822) attachment, fully preserving headers, body structure, and all attachments; both IMAP/CAPI protocols supported, with large-mail protection (>30MB suggests forward-with-original instead, 23–30MB warns).
Contact profiles & relationship profiles: merged into a single detail panel, producing identity and relationship fields in one AI call; profile material prefers mails sent by the profiled person, supplemented with received mails (direction labeled) when insufficient.
Profiles in AI writing context: user profiles and contact/relationship profiles are injected into AI compose, summarize, classify, and more — when AI replies on your behalf it already knows the other person's title and your shared history; when writing your own mail it follows your personal style.
Org-structure info injection: for enterprise contacts (CAPI accounts), profile material queries the corporate directory in real time, injecting structured fields like name / company / department / title; viewing details auto-locates the person's department.
Font size tiers: small / standard / large app-wide scaling, shared across the main window, independent reading windows, and independent compose windows; icons and badges stay at original size.
UI polish: clearer mail / reading-window headers (sender and recipient regions separated, softer labels); divider lines deepened across all skins with clearer list hierarchy; enterprise directory member list highlights the selection and auto-scrolls.
Security hardening: external-input escaping / sanitization, .eml parsing 50MB cap with nested defenses, attachment-save injection prevention
System Requirements
🖥 Operating System
Windows 10 / 11 (x86-64 v0.9.9 stable; ARM64 latest v0.9.1)
macOS: macOS 12+ (Intel / Apple Silicon), DMG installer, v0.9.9 universal officially released
Android: ARM64 phones, APK installer, v0.7.7 officially released
Domestic innovation / localized platforms: Kylin V11, UnionTech UOS, HarmonyOS and other domestic operating systems adaptation in progress
🌐 Network
Core features — sending/receiving mail, local search, offline reading — do not depend on the AI service and work offline.
AI features (chat / compose / translate / summarize / briefing) require an internet connection to the SJ-AI Server.
🔐 Security
Account passwords and AI keys are stored locally encrypted with AES-256-GCM; mail HTML is sanitized before rendering.
More Products
AI enhancement plugins for existing email clients — still fully supported
Windows Versions
微邮 (WeiMail) · AI Mail Assistant Plugin
Latest
v1.0.6PC client 2.4.0.0+500 KB
Note: v1.0.6 requires WeiMail PC client 2.4.0.0 or later.
We're actively preparing multi-platform versions; no downloads for other platforms yet. Please use the Windows versions above or stay tuned for updates.
Not yet available — stay tuned
Security Tools
php2shell Mitigation Patch (Linux)
2026-10Linux19 KB
A server-side mitigation script for the PHP "php2shell" attack chain (CVE-2026-109619 / CVE-2026-109618): auto-detects running PHP instances (php-fpm / Apache mod_php), locks down session.upload_progress and related settings via php_admin_value, and gracefully reloads — with backups before every change. Includes Chinese & English READMEs.Note: this is a mitigation, not a fix — upgrade to an official patched PHP release for a full remedy.