Productivity · AICase study 20 / 20

Mail

A mail command centre that triages my inbox, drafts replies in my voice, digests every newsletter and unsubscribes from the ones I don't read — and never sends a thing without me. It runs on the server, so it works with my laptop shut, and feeds my assistant the exact same inbox.

Role

Designer & engineer · personal tool

Status

● Live · replaced Spark as my daily inbox

AI

Triage, digests and tone-matched drafts — run locally, every tool disabled, because email is untrusted

Stack

Node · Fastify · SQLite · IMAP / SMTP · local Claude CLI

0
emails sent without my say-so — everything holds for me first
Live
▶ Watch the demo

The short version

  • Every message is triaged into plain categories, and when someone actually needs a reply it's drafted in my tone and signature — ready to edit or send.
  • Newsletters are digested into a few bullets each morning, and the ones I never open can be unsubscribed in a click — future issues auto-archive.
  • Nothing sends on its own: sends and unsubscribes hold on the server with an undo, and the AI runs locally with every tool switched off, because email is untrusted.

01Why I built it

Email is where other people's priorities pile up on mine. The signal — a client who needs a reply, a sign-in code, the one newsletter worth reading — gets buried under the noise, and clearing it is a daily tax. Desktop clients also die with the laptop lid, which is no good when an assistant needs the inbox around the clock.

So I built my own: a mail command centre that lives on the server, does the triage and the first draft, and keeps me as the one who decides what actually goes out. It replaced Spark as my daily inbox, and it's the same inbox my assistant reads from.

02What it does

  1. OverviewUnread, needs-reply, drafts waiting, active newsletters, mail this week — plus sign-in codes from the last 20 minutes and replies I'm still waiting on.
  2. TriageEvery message lands in a plain category — Important, Needs reply, Newsletter, Receipt, Notification — so the inbox sorts itself.
  3. DraftWhen a person writes and expects an answer, a reply is drafted in my tone and signature. I edit, Redraft with an instruction, or send.
  4. DigestEach morning every newsletter from the last day is summarised to a few bullets, so I read the gist and skip the rest.
  5. UnsubscribeSenders I never open are unsubscribed in a click — one-click where the standard allows, by email otherwise — and their future mail auto-archives.
  6. HoldSends and unsubscribes wait on the server with an undo; archive and delete can be taken back. Nothing is irreversible.

03The pieces

Reading the pile

AI triage + overview

Header heuristics and a fast model sort every message into categories and surface what actually needs me — needs-reply, codes, people I owe an answer.

The first draft

Tone-matched reply drafts

Replies come pre-written in my voice and signature, with a redraft-by-instruction loop — so answering is editing, not starting from a blank box.

Newsletter hygiene

Digest + one-click unsubscribe

Every sender's volume, read-rate and unsubscribe method in one list; a morning digest of what's worth reading; mass-unsubscribe for the rest.

A safe reader

Sandboxed, pixels blocked

Remote images — tracking pixels — are blocked until I allow them, so opening a message doesn't tell the sender I did.

04Nothing sends without me

The whole point of letting AI near my inbox is that it saves time, not that it acts for me. So every outbound action is a draft or a hold, never a fait accompli.

  • Drafts, not sends. Replies are written and wait. I read every one before it leaves.
  • Holds with undo. Sends and unsubscribes pause on the server for a few seconds; archive and delete can be reversed. The hold lives server-side, so the UI and my assistant share the same one.
  • I own the wording. Redraft with an instruction, or rewrite it myself — the model never gets the last word on what I say.

05Treating email as untrusted

Email is attacker-controlled text, so the AI that reads it is kept on a tight leash. Triage, digests and drafts run through a local model with every tool switched off — it can read and write words, nothing more, so a message can't talk the system into taking an action. Account passwords are encrypted at rest, and the sandboxed reader blocks tracking pixels until I choose to load them.

06Trade-offs I made

Chose

Draft everything

Over

Auto-reply to the easy ones

Even a "thanks, got it" is me speaking. A draft costs a second to approve and keeps my name attached to things I actually said.

Chose

Local model, no tools

Over

A capable tool-using agent

Email is untrusted input. A model that can only read and write text can't be prompt-injected into doing something it shouldn't.

Chose

Runs on the server

Over

A desktop mail client

The inbox has to be live with the laptop shut — for the morning digest, for held actions, and for the assistant that reads from it.

Chose

Server-side holds

Over

Client-side "undo send"

A hold the server owns is shared by the UI and the assistant, so an action is cancellable no matter which one started it.

07What this shows

Applied AI, safely

Real use of models on messy, adversarial text — with the blast radius designed down to "it can only draft," not "it can act."

Product judgement

Knowing which jobs to automate (triage, digests, first drafts) and which to keep human (sending, wording) — and holding that line in the UI.

Systems thinking

One inbox that serves both me and my assistant, with holds and state that live server-side so the two never disagree.

About this one: this is a personal tool, not a product — my own inbox, run my way. The demo is filmed on the newsletters and overview views with every address, name and subject blurred; real mail never appears, and the app's own reader blocks tracking pixels by default.

Hiring for applied AI, product or solutions work? I'd like to hear about it.