Claude writes the email. You press send.
Mailordomo is a small mailer that runs on your Mac. Claude Code reads your mailboxes and writes drafts; you read each one in a local web page and click Approve. Nothing leaves without that click.
Context, not sent. Bob asked twice about the April invoice; this answers both and promises the corrected PDF by Friday.
- From
- Alice Example <alice@acme.example>
- To
- Bob Example <bob@example.com>
- Subject
- Re: April invoice
Hi Bob,
you're right, the April invoice counted the workshop twice. I'll send a corrected one by Friday; the payment date stays the same.
Thanks for spotting it,
Alice
How it works
You ask Claude
In Claude Code: “answer Bob's invoice email”, “what still needs a reply?”, “draft the partner mailing for these ten companies”.
Claude drafts
It reads the thread and the person's earlier mail, writes in their language, and leaves you a note on why it wrote what it wrote.
You approve
Each draft shows exactly as it will be sent, signature included. Approve, edit or discard; approving has a ten-second undo.
It goes out from your account
A queue sends over your own SMTP, a few seconds apart, files a copy in Sent and threads replies the way Apple Mail does.
What else it keeps track of
- Needs reply
- One list of conversations across all your inboxes that still wait for your answer, sorted by urgency when triage is on.
- Follow-ups
- What a mail promised and what you are waiting for, with a reminder when it's due and a note when they answered.
- Profiles
- Your business, a side project and private mail in one instance, each with its own mailboxes, signature and instructions for Claude, and never mixed up.
- People
- Everything one person wrote to you across mailboxes, so Claude answers the whole story and not just the last message.
- Your accounts
- Any IMAP and SMTP mailbox: Gmail and Google Workspace (app password or Google sign-in), iCloud, Seznam and others.
Built so that a mistake stays a draft
- There is no approve command. Claude can create, edit and discard drafts. Only your click in the web page sends.
- It runs on your Mac only. The server listens on 127.0.0.1 and refuses requests from other websites.
- Incoming mail is treated as untrusted. Claude is told never to follow instructions found in an email.
- No guessing when sending goes wrong. Anything unexpected from your mail server pauses the queue. A mail that may or may not have gone out is never sent twice.
- Your data stays in your home folder. Passwords in the macOS Keychain, mail and settings in a folder outside the code. No server of ours, no analytics.
Install
You need macOS, Node.js 23.6 or newer with pnpm, and Claude Code.
git clone https://github.com/janmikes/mailordomo.git
cd mailordomo && pnpm install
# describe your mailboxes and profiles in the home folder (see the README), then:
./bin/mailordomo.ts secret set work # the password goes into the Keychain
./scripts/install.sh # background service, CLI and Claude Code skill
Then open http://localhost:4580 and ask Claude Code to draft something. The README covers configuration, signatures and profiles.