wax

wax

Mail, fast. Extend it with plugins.

Written in Rust, drawn on the GPU with GPUI (the framework behind Zed), and backed by a SQLite cache on your Mac, so folders open the moment you click and search reaches mail you haven't opened. The core reads, writes and files your mail; everything else is a plugin you choose.

Free and open source (GPL-3.0). Early release: Gmail and Google Workspace accounts, macOS only.
Wax in its dark theme: accounts and folders on the left, the Inbox in the middle, and a three-message conversation open on the right with Reply, Reply all, Forward and Snooze buttons.

A quick tour

Every screenshot is the real app, filled with made-up mail.

Write in Markdown

Bold, lists, links, quotes and real tables, from the toolbar or the keys you already know. Paste a range from Excel, Numbers or Google Sheets and it becomes a table; tab lines the columns up and numbers align right.

The spelling plugin points out typos and slips as you go, with the fix one click away. Wax sends clean HTML, with your Markdown as the plain-text copy, and every send waits eight seconds in case you want it back.

⌘B bold · ⌘K link · ⌘⏎ send

A new message written in Markdown: a table of print items with aligned columns, a note, a numbered list and a link, with the Blocks panel beside it, a spelling fix (neds to needs) under it, and the Work signature.

Blocks you fill in with tab

Drag in a block, click it, or type its shortcut like ;quote and press tab. Each placeholder is selected in turn: type, then tab to the next. The recipient's first name and today's date fill themselves.

Select something you wrote and press ⌘⇧K to make it a block. Wax suggests what to turn into placeholders: the name, the amount, the day.

The Quote block being filled in: the project and item are typed, the quantity is selected, and the bar under the message says Filling Quote, 3 of 4, qty, tab next.

Tables that add up

A row labelled Total adds up the columns above it, a # column numbers the rows, and a header like Amount =Qty*Price works out the column. It all recalculates as you tab between cells, in the column's own format.

The recipient gets a plain, tidy table with the numbers in it.

⌘⇧P see the message as it will arrive

The finished quote in preview: a table numbered 1, Catalog print run, 2,000 at $0.62, Amount $1,240.00, and a bold Total row of 2,000 and $1,240.00, above the signature.

Signatures, designed

Apple Mail gives you a text box to paste into. Wax gives you a designer: choose a layout with or without logos, fill in your details, pick an accent colour and font, and see it as it will arrive.

Logos travel inside the message, so they show up without anyone clicking "load images", and they can link to your site. Keep several per account, one for new mail and one for replies, and switch with a click. The signature stays apart from what you write, so switching never leaves pieces behind.

Already have one? Wax can import an HTML signature from Apple Mail, Thunderbird or a signature generator.

The signature designer: layouts named Text, Logo left, Logo on top and Two logos, fields for name, title, company, phone, email and website, and a preview of the signature under a short message.

Warned before you click

The Phishing plugin spots lookalike senders, brand names from the wrong domain, links that don't go where they say and pressure wording, and puts the reasons above the message.

It checks new mail, the mail you already have, and anything you move out of Spam.

A message claiming to be from PayPal, with an amber banner above it explaining that it comes from paypa1-help.net, which isn't PayPal's.

The Sweep

Every sender, ranked by how much they send and how much of it you never open. One key files their past and future mail: Reading, Records, Screened Out or keep.

g w opens it

The Sweep: senders listed by message count with the share never opened, each with a decision such as Reading, Records or Screened Out, and details for the selected sender on the right.

Newsletters, minus the tracking

HTML mail renders properly in a sandbox with scripts off and remote images blocked until you load them, so tracking pixels never fire. Links open in your browser.

A newsletter rendered on a white page inside the reader, with headings and paragraphs.

Any Zed theme

Wax reads Zed's theme files, so every Zed theme works as it is. Pick a light one and a dark one and Wax follows your Mac.

Wax in its light theme, showing the same Inbox and conversation.

Fits any window

Narrow the window and the sidebar becomes a rail of icons; widen it to an ultrawide and the message stays a readable column. All Inboxes tags each message with its account.

A narrow Wax window: the sidebar reduced to icons, All Inboxes listing mail from two accounts with colored account tags, and a message open beside it.

Plugins you switch on

Each plugin says what it needs in plain words and gets nothing until you switch it on. They run sandboxed with no files or network.

Write your own

Settings, Plugins: Filter rules, Phishing warnings, Screener, Snooze and follow-up, Spam filter, Spelling and grammar and Sweep, each listing what it asks for, with On and Off switches.

Yours to read and change

Wax is free and open source under the GPL-3.0. About Wax shows the version you're running and opens your settings file, a plain text file you can edit by hand.

Read the code

The About Wax window: the red wax seal icon, the wax wordmark, Version 0.1.0, the line A small mail app. Everything beyond mail is a plugin, and buttons to open the settings file and browse plugins.

What the core does

Everything here works today, on several Gmail accounts at once.

Every action has a key

The bar at the bottom shows only the keys that apply where you are. e archives, r replies, l labels.

Opens instantly, works offline

Every header is cached on your Mac, so folders open at once and search covers mail you haven't opened.

Conversations

Mail is grouped into threads, newest first, your replies included. Archive, label or mark a whole conversation in one go.

Everything you've sent

All Sent gathers sent mail from every account. Search it by who you wrote to, the subject or what you said.

Signatures, laid out

Several per account, designed in the app with logos and links, and switched per message.

Your settings are files

Accounts, rules, signatures, keys and themes are plain text you can read, edit, back up or keep in git.

Hands stay on the keys

A few of the defaults. Change any of them in keymap.toml; the guide lists them all.

  • jk move
  • e archive
  • # delete
  • ! report spam
  • r reply
  • a reply all
  • f forward
  • l label
  • z snooze
  • x select
  • s star
  • g i go to Inbox
  • g w the Sweep
  • / search

The rest is plugins

Plugins are WebAssembly, run sandboxed with no files or network, and get only the access you grant in Settings → Plugins. These come with Wax.

  • The SweepRanks every sender by volume and how often you open their mail. One key files their past and future mail.
  • ScreenerA first email from someone new waits in the Lobby until you let them in.
  • SnoozePuts a message away until the day it matters, and reminds you when nobody has replied.
  • PhishingFlags lookalike senders and links that don't go where they say, with the reasons above the message.
  • Spam filterLearns from what you report, block and rescue, then moves the spam that gets past Gmail, saying why.
  • SpellingTypos, repeated words and a/an slips, with one-click fixes under the message. Your dictionary is a text file.
  • Filter rulesOne line per rule: label, move or star new mail by sender or subject.

Next: an MCP server so your AI assistant can search and draft with the access you allow, and AI summaries and a morning brief that run with your own key.

Read the plugin guide

# ~/.config/wax/plugins/snooze/config.toml
# "tomorrow" and "next week" mean this hour:
morning = 8

# ~/.config/wax/plugins/phishing/config.toml
label = "Suspicious"
trust = "mycompany.com"
brand = "Acme Bank: acmebank.com"

Why it's built this way

Wax makes a few choices on purpose. Here is each one and the reason for it.

  • Native, not a web page

    Wax is written in Rust on GPUI, the framework Zed is drawn with. There's no Electron and no bundled browser, so scrolling and resizing keep up with your display and the app is a small native binary. The one web view is the one that shows HTML mail, and it's locked down.

  • A small core, and plugins for the rest

    The core reads, writes and files mail. The Screener, Snooze, the Sweep, phishing warnings and filter rules are plugins built on the same interface anyone can use, so every opinion about how you should handle your mail can be switched off or replaced.

  • Plugins get only what you grant

    Each plugin runs in WebAssembly with no files, no network, 64 MB of memory and a time limit. It says in plain words what it needs to see and do, and anything beyond that is refused. One that keeps running over its time is switched off. Plugins see new mail before you do, so a message the Screener holds back never flashes into your Inbox.

  • Every message is untrusted

    HTML mail opens in a sandboxed WebKit view where scripts never run. Remote images and tracking pixels wait until you load them, and links open in your browser, not inside Wax.

  • Fast because it's local

    Every header is cached on your Mac in SQLite, so folders open at once, search covers mail you haven't opened, and reading works offline. The cache holds only what can be fetched from Gmail again, plus your unsent drafts.

  • No Wax account, no Wax server

    Wax talks to Gmail and Google sign-in directly. Your tokens stay in the macOS Keychain. Apart from images you choose to load, the only servers Wax contacts are Google's.

  • Settings are text files

    Accounts, rules, signatures, keys and themes live in ~/.config/wax. Edit them in any editor and Wax picks up the change when you save; back them up or keep them in git. Themes use Zed's format, so Zed's themes work as they are.

  • Write in Markdown, send real email

    You write in Markdown and Wax sends clean HTML with the plain text alongside. Every send waits eight seconds so you can take it back.

  • GPL for the app, MIT for plugins

    The app is GPL-3.0, so it stays open. The plugin interface is MIT, so a plugin can use any licence you like.

See how Wax compares with other Mac mail apps

Install

There's no signed download yet. For now, build Wax from source on an Apple silicon Mac.

  1. Install Rust from rustup.rs.
  2. Clone the repository: git clone https://github.com/tekanic/wax.git && cd wax
  3. Build and install: scripts/install.sh. Wax and its plugins land in your Applications folder and Wax opens.
  4. Add a Google OAuth desktop client and sign in from Settings → Accounts; the guide walks through it.
  5. Switch on the plugins you want in Settings → Plugins.