CZL LogoCZL
  • Home
  • Worldwide Express
  • 中文
CZL Mail
Open Source · AGPL-3.0

CZL Mail

A native JMAP desktop client built for Stalwart

Mail, calendar, contacts, files and Markdown notes in one app. Mail is cached locally so it opens instantly, a single push connection keeps everything in sync, and new mail still reaches you after you close the window. A built-in MCP server lets AI agents like Claude and Codex work with your mail.

Download for WindowsDownload for macOS

Windows 10 / 11 and macOS 10.15+. Your server only needs Stalwart, no separate webmail to deploy

By CZL — open sourceGitHub

Preview

Mail, calendar, notes and the AI assistant share one layout, in light and dark themes. Drawn below from the real interface.

CZL Mail
Inbox12
Starred
Drafts2
Sent
Archive
Junk
Shared
support@
billing@
Search all mail
D
Daniel Chen310:42
Q4 shipping rates
Attached is the new rate sheet; UK lines change next week…
G
GitHub09:15
[czlmail] Release v0.2.5
A new release is available with notes…
S
StalwartYesterday
Weekly delivery report
1,284 messages delivered last week, 0.3% bounced…
L
Lisa Wong2Mon
Re: Invoice #2026-118
Thanks, payment has been scheduled…
Q4 shipping rates
DDaniel Chen→ meToday 10:42
TranslateAI summary
Q4-rates.xlsx

Hi,

Attached is the new rate sheet for Q4. UK lines switch to the new prices next Monday; US lines stay the same for now.

Let me know if you have any questions.

CZL Mail desktop interface: mail, calendar, notes and the AI assistant

Your Whole Mail Server, One App

Speaks JMAP directly. No IMAP / CalDAV / CardDAV juggling, no browser tab to keep open.

Local Cache, Instant Open

Mail is cached in local SQLite. Switching folders, paging and search read from disk, and full-text search handles CJK text. Unified views show the inbox, unread, sent and junk of your personal and shared mailboxes in one list.

Real-Time Push Sync

One JMAP EventSource connection drives every update. Deletes, reads and moves made elsewhere show up right away, no polling.

Notifications & Tray

New mail and event reminders use system notifications. Closing the window keeps it in the tray or menu bar with an unread count.

Complete Compose

HTML signatures, templates, read receipts, scheduled and separate sending. Recipients autocomplete from contacts, directory and recent mail.

Calendar & Contacts

Events, tasks, reminders, recurrence and invitation replies; contacts and groups. Import .ics, webcal and vCard.

Files & Server Settings

Stalwart file storage, identities, vacation replies and Sieve filters, interoperable with Bulwark webmail.

Secure by Default

Message bodies render in three layers of isolation and remote images are blocked. Credentials live in the system keychain; updates are SHA-256 verified.

Open & Independent

AGPL-3.0 and not tied to any deployment. Sign in with app passwords or OAuth / SSO. Your data stays on your server and your computer.

Notes & Journal

Markdown notes stored in your own Stalwart drive. Write like in Obsidian, pick up on any computer.

Live Markdown

Live preview shows source only for the paragraph you are editing and renders the rest. Tables, code blocks, task lists and footnotes, with source and reading modes a click away.

One-click journal

Today's journal opens today's entry or creates it from your template. Folder and file name use date patterns like YYYY-MM-DD-dddd, the same as Obsidian daily notes.

Templates

Any note can be a template, with {{date}}, {{time}} and {{title}}. Journal settings sync with your account, so a new device needs no setup.

Local first, synced in the background

Every keystroke is saved on your computer first, offline included, then synced to the Notes folder on your drive. Edits from two devices are compared side by side, never overwritten.

Attachments and images

Paste screenshots or drop files: they are stored under assets with a link inserted. Images and PDFs preview right in the note.

Ready for AI

Notes are available over MCP so agents can search, read and organize them. Write access is off until you turn it on.

Let AI Work With Your Mailbox

A built-in local MCP server, plus any model that speaks the OpenAI Responses API.

MCP for Claude, Codex and Other Agents

Once enabled, agents can list and search mail, read messages, view and create events, look up contacts and browse files.

  • Listens on 127.0.0.1 only and requires a token
  • Requests with an Origin header are rejected, so web pages cannot call it
  • The send tool is off by default and enabled separately, guarding against prompt injection in incoming mail
claude mcp add --scope user czlmail -- "C:\Users\<user>\AppData\Local\CZL\CZL Mail\czlmail.exe" mcp

AI Assistant: Translate, Polish, Draft

Enter an endpoint, API key and model in settings. Until you do, no AI buttons appear anywhere.

  • Translate a message in place with layout and styles intact; translations are cached
  • Polish or translate your draft while composing
  • Describe what you want to say and let AI draft the reply

Four Steps to Get Started

Install the app, prepare an app password, and the first sync takes a few minutes.

011

Install

Windows installs per user with no admin rights. On macOS, drag it into Applications and allow it once in Privacy & Security.

022

Get a Password

Create an app password in Stalwart, or sign in through your browser if the server uses single sign-on.

033

Sign In & Sync

Enter server, email and password. The latest 500 messages load first, then push sync keeps everything current.

044

Turn On Extras

Enable launch at login, default mail app or the AI assistant in settings, or turn on MCP on the AI Assistant page.

FAQ

A few questions you might have before getting started.

Does it only work with Stalwart?
CZL Mail speaks JMAP and is built and tested against Stalwart. Other JMAP servers should work for mail; calendar, contacts and files depend on the server offering those JMAP capabilities. IMAP-only mailboxes are not supported.
Do I need to deploy a webmail as well?
No. The server only needs Stalwart; the client talks to its JMAP endpoint directly. If you also use Bulwark webmail, filters, trusted senders and templates are shared between the two.
Where is my mail stored? Does it pass through third parties?
Mail only travels between your mail server and the local cache; it never passes through CZL servers. Credentials are kept in the system keychain with no plaintext fallback, and settings can wipe all local data in one click. Sender avatars query Gravatar and site icons, which you can turn off. AI features only send content to the endpoint you configure, when you use them.
Which password do I sign in with?
An app password generated in Stalwart is recommended. When the server delegates authentication to an external OIDC provider, the admin can publish /.well-known/czlmail.json and the sign-in page will show a "Sign in with XX" button.
Do notes work with Obsidian?
Notes are plain Markdown files and attachments in the Notes folder of your personal drive. You can import a whole Obsidian vault and export everything back to a normal folder at any time. Journal folders and file names use the same date patterns, and templates support {{date}}, {{time}} and {{title}}. Backlink panels, plugins and canvases are not supported.
Could MCP let an AI send mail on its own?
The send tool is off by default and must be enabled separately on the AI Assistant page. The MCP server only listens on loopback and requires a token, and mail content is handed to the model as data, not instructions.
Which systems are supported? How does it update?
Windows 10 / 11 (64-bit) and macOS 10.15+ (universal for Intel and Apple silicon). The app checks GitHub Releases periodically and prompts you when a new version is out; installers failing SHA-256 verification are never installed.
Where can I report issues?
Open an issue on GitHub, post in the SunAI forum feedback thread, or reach us through the WeChat support link at the top right of this site.

Free to Download, Open to Read

Windows installer and universal macOS build, with built-in online updates.

Download for WindowsDownload for macOS
Source on GitHubForum Feedback
  • Free and open source under AGPL-3.0
  • Per-user install on Windows, no admin rights
  • Universal macOS build for Intel and Apple silicon
  • Online updates with SHA-256 verification

Open source by CZL

About CZL →

CZL focuses on AI, technology and internet services. CZL Mail is the desktop client we built for our own Stalwart mail server and released as open source.

Copyright © 2026❤CZL All Rights Reserved.
Company InformationContact Us
CZL Logo
沪ICP备20015193号沪公网安备 31011702008265号