MailCraft
An open-source mail, calendar, contacts and tasks program, written from scratch in Rust.
MailCraft has been developed here since 12 October 2026; this repository and mailcraft.work are the project's only official homes.



MailCraft is a clean-room reimplementation of the mail client people already know how to use: the ribbon, the folder pane, the message list with its reading pane, conversations, flags, categories, rules, a calendar with recurring meetings, people and to-dos. It is a native, GPU-rendered app (no Electron, no web view), it also runs in a browser tab through WebAssembly, and every action in it is a command that scripts and AI agents can run too.
MailCraft follows the architecture and conventions of WordCraft and the other Craft apps: the same layered crates, the same "everything is a command" engine, the same egui front end and design tokens, the same control channel, MCP server, tooling and packaging.
What works today
- Mail: accounts, nested folders and favourites, a virtualised message list grouped by date (or sender, importance), sort, filters, conversations, pinning, a reading pane (right, bottom or off) whose text you can select and copy, flags with due dates, colour categories, importance, junk and archive, move and copy (or drag onto a folder), two-step delete with a question before anything is gone for good, Send / Receive › Work Offline, and how far back each account keeps its mail in full on this computer (older mail keeps its headers and preview and comes down again when opened), flag and delete on the row under the pointer, a click on a row's left edge to switch read and unread, a double-click to open a message in a window of its own, drag accounts into the order you want, undo and redo for all of it.
- Search: a query language in the search box:
budget from:ada has:attachment -draft after:2026-10-01 is:unread, in one folder or every mailbox.
- Writing: new mail (also from a
mailto: link clicked anywhere, once MailCraft is your mail program), Reply, Reply All and Forward with the original quoted, attachments, drafts, signatures, recipients suggested as you type (contacts, then the people you have exchanged mail with), Check Names, importance. Rich text as you see it (bold, italic, underline, colour, fonts, lists eight levels deep, links), sent as HTML with a plain-text part, and pasted HTML kept to what MailCraft draws; replies and forwards carry the original below as it came. Signatures with a logo, one for new mail and one for replies, made from your details or written by hand. Write several messages at once, each in a window of its own (Pop Out) or in the reading pane, with Find and Replace, Text Highlight Color, Format Painter, Insert › Symbol, Contact Card and Item, and Request a Read Receipt.
- Rules: conditions and exceptions (who it is from or to, words in the subject, the body or a header, attachments, importance, sensitivity, size, when it arrived, a category and more) and actions (move, copy, categorise, flag, clear the flag or the categories, mark read, importance, delete, a desktop alert), run on new mail or on demand; a Microsoft account's rules are kept on its server when the server can do them.
- Calendar: day, work-week, week and month views; appointments and meetings with attendees; recurrence (daily, weekly on chosen days, monthly by date or by "second Tuesday", yearly; counts, end dates, skipped days); reminders that come up in a window of their own (dismiss, snooze), show-as, private; several calendars. Click or drag over empty time and type to make an appointment on the spot; drag one to move it, its edge to resize it, with Ctrl to copy it; the keyboard works the grid as it does in Outlook; double-click opens an item in a window of its own. A repeating item asks "just this one" or "the entire series". With a Microsoft 365 account, what you make, move, change or delete is on the server at once, series and every calendar of the account included, and the calendar keeps itself current; meetings send their invitations, updates and cancellations through the server, and you answer invitations from the calendar or straight from the message in the Inbox (Accept, Tentative, Decline, with what else is on at that time). Appointments and meetings open in windows of their own, with their own command bar, a recurrence dialog and Find a Time, which shows when the people you invite are free. Several calendars stand side by side or overlaid, each in its colour. How far this is from Outlook, row by row: docs/calendar-parity.md.
- Automatic Replies: for a Microsoft account, File › Info › Automatic Replies turns replies on or off, only during a time range, with one reply for people inside your organisation and another for those outside it.
- People and Tasks: contacts with several addresses and phones, favourites and categories; to-dos with due dates, importance, and links to the flagged message they came from.
- Servers: IMAP and SMTP over TLS or STARTTLS, on the desktop and in the CLI; JMAP in the browser build (docs/jmap.md). Gmail's labels show on its messages. Mail comes down, and what you do here goes back up: read marks, flags, moves, deletions and a copy of what you send. An organisation's own Exchange Server, Grommunio or SmarterMail is added as an Exchange server account, as a preview (#252). Account setup recognises the provider from the address (for a company's own domain, from who takes its mail); Outlook.com and Microsoft 365 sign in on Microsoft's page (OAuth 2.0), and sign-ins are remembered by the system's credential store (Windows Credential Manager, the macOS keychain, or the Secret Service of GNOME Keyring or KWallet on Linux and FreeBSD). Where an organisation lets only an administrator approve a new program, Microsoft's page says "Need admin approval" instead of signing you in: MailCraft says what to do next while that page is still open (an administrator approves it once on Microsoft's page, opened from MailCraft; anybody else copies a short message for one; then you sign in again), and nothing of you is in the address that is passed on. Send/Receive runs by itself, and mail shows as it arrives, the Inbox first. For Microsoft accounts, mail is sent through Microsoft Graph, the calendar goes both ways, contacts come down, and the folder pane's Favorites are the ones you keep in Outlook (read from the server through Microsoft Graph once you say so, never changed there; a work or school account may need its administrator's approval once). Microsoft 365 has daily-use coverage; bounded owner-authorized Windows Gmail/Workspace acceptance is documented in the Google account guide. Other interoperability limits remain in docs/gaps.md.
- Files:
.eml and .mbox messages, .ics calendars, .vcf contacts, in and out; an Outlook .pst file's mail, contacts, calendar, tasks, notes and journal come in through File › Open & Export › Import a .pst File; the mailbox as a .mailcraft file with its message content in a folder beside it, saved in the background, or as one self-contained file.
- Reading mail safely: HTML mail is laid out with its tables, colours, lists and the pictures attached to it, readable in light and dark, without running anything in it; pictures on the web are downloaded only when you ask (for one message, always for a sender, or for all mail if you switch that on), and the request tells the sender's server nothing but the picture's address; links show where they go.
- Look: Outlook's layout: the rail, the folder pane, a one-row ribbon (or the classic three-row one, your choice, which folds its groups to fit a narrower window), MailCraft's own look with four accent colours and high contrast, and an icon of its own (an envelope that is also a calendar page), light and dark following the system's setting unless you choose (on Linux and the BSDs, the desktop's light or da