Esc

↑ ↓ to move · Enter to open · Esc to close · Ctrl K to search from any page

LordOS

Feature

Mail, Calendar, Contacts and Reminders

Native apps for your accounts, with every risky parser locked in a helper that can't open a connection on its own.

Mail keeps me running! Every message is a parcel from a stranger, so I open it in a sealed room, keep the pictures hidden until you say so, and point out links that aren't what they seem.

The short version#

LordOS ships four native apps for your personal information: Mail, Calendar, Contacts and Reminders. They are ordinary LordOS apps, drawn by the same engine as the rest of the desktop. What is unusual is where the risky work happens: every network protocol and every parser of data that comes from outside runs in one locked-in helper process, lord-maild, which is not even allowed to open a network connection by itself.

Mail: three panes and a whole conversation, including your own replies.
Mail: three panes and a whole conversation, including your own replies.

Mail is the most common way to attack a computer. A message is a stranger's document: HTML, images, attachments, invitations. So LordOS treats it like a parcel that is opened in a sealed room. If something in it is malicious and takes over the room, it still can't call out, can't run anything, and can't reach your files.

Who talks to the mail server

  1. YouMail, Calendar, Contacts, RemindersNative apps; asynchronous requests
    then JSON over a channel
  2. Ourslord-maildSandboxed: TLS, IMAP, SMTP, DAV, MIME, HTML; no sockets of its own
    then "connect host:port?"
  3. OursConnector in lord-serverConnects only to servers in your accounts file
    then allowed endpoint only
  4. ReusedYour mail and calendar serversCertificates verified; failures shown

Legend: YouOursReused

The helper that parses untrusted mail can't open a connection; lord-server opens it only to approved servers and hands it over.

What you get#

  • Mail: three panes, a unified inbox, conversations, flags and six colour categories that other clients see too, signatures, drafts saved to the server, "send later", attachments opened with your default apps, and notifications for new mail. Compose in rich text, markdown or plain text.
  • A new Mail window, in development (Mail roadmap stage 1): a classic desktop layout with LordOS's own look. Search in the title band, a command bar, All Accounts folders, each account by its label and color, Focused and Other on the inbox, date sections, pinned conversations, flags with due dates, the reading pane on the side, at the bottom or off, My Day with today's and tomorrow's events and to-dos, Calendar, Contacts and Tasks inside Mail's window, profiles of accounts with their own notifications, and a Settings window. The latest release, 0.8.9.6.2 Beta, still has the three-pane window.
  • Writing and sending, in development (Mail roadmap stage 2): rich text edited in place with no marks (fonts, sizes, colors, lists, links, pictures), From with each account's label and color, several signatures per account with a logo and a contact card, templates, autocorrect with your own replacements, Undo send, schedule send with a time zone and a Scheduled folder (sent at the next start if the computer was off), and follow-ups that remind you or send again when nobody answers, with Mail closed too.
  • Scam warnings, in development (Mail roadmap stage 3): each message is checked by fixed rules on your computer: a brand name from a domain that isn't the brand's, look-alike domains, failed SPF, DKIM or DMARC from your own provider, replies sent to a free mailbox, risky attachments, urgency with a request for data or money. A banner says why; links and attachments stay blocked until you choose Show Anyway, or you move it to Junk and block the sender. Senders that pass every check get a Verified badge.
  • Alma in Mail, in development (Mail roadmap stage 4): on your computer only, Alma summarizes a message, a conversation or today's inbox, shows a mail in another language in yours, suggests replies and answers every question, and lets you reply in the sender's language after seeing the translation and how it reads back. Ask Alma answers questions about your mail from the local index (“how much did I pay for electricity this year?”) and takes orders like “archive newsletters older than 7 days”: it always asks first, never sends or deletes anything for good, and every action can be undone.
  • Microsoft accounts in full, in development (Mail roadmap stage 5): an Outlook.com or Microsoft 365 account can sync its calendars, contacts and To Do lists both ways, set its automatic replies and its server rules from Mail, and hand “send later” to the server, so the message goes out at its time with the computer off.
  • Rules, automatic replies and one-click unsubscribe, in development (Mail roadmap stage 6): rules sort new mail as it arrives (or when you press Run Now), and you can test one on the last 30 days or just write it in words (“mail from bills@power.com goes to the folder Bills”). IMAP accounts send your own automatic replies while you're away, never to mailing lists or no-reply addresses. Unsubscribe from a list in one click, and see the lists you never open in Inbox Care. Focus mode lets only Focused mail notify, always or on a schedule.
  • Dictate, in development (0.8.9.6.4): in a new message, press Dictate, speak and press Stop; what you said is written at the cursor, by Whisper on your computer, without the internet. Mail gets the text, never the audio. The Whisper model is downloaded in Settings → AI → Ear. Read Aloud reads a message with LordOS's voice.
  • Calendar: day, week and month views, several calendars with colours, local or synced over CalDAV, repeating events, and alarms.
  • Invitations that arrive by mail: Accept, Maybe or Decline. The event goes into Calendar and the reply goes to the organizer.
  • Reminders: lists, due dates, priorities, flags, and Today / Scheduled / All / Flagged / Completed views, synced over CalDAV.
  • Contacts: local or synced over CardDAV, groups and photos. Mail autocompletes from them.
  • Calendar and contacts accounts from the apps themselves (since 0.8.8.4): Add Account… in Calendar and Contacts adds any CalDAV/CardDAV server (contacts may live on their own address), or uses a built-in preset for a large provider whose calendars and contacts take an app-specific password. If the same event or contact also changed on another device, the server's version wins and yours is kept on this computer, with a notification saying where.
  • Alarms ring with the apps closed, because the helper keeps running for the session.
  • Any IMAP and SMTP account works. For a few widely used providers the server settings are filled in from a built-in table, with nothing looked up online.
In development: Mail's new window with Focused and Other, date sections and My Day (made-up messages).
In development: Mail's new window with Focused and Other, date sections and My Day (made-up messages).
Reminders with lists, due dates, priorities and flags.
Reminders with lists, due dates, priorities and flags.
Contacts, local or synced, with groups and photos.
Contacts, local or synced, with groups and photos.

How it works#

  1. The helper starts locked in. lord-server launches lord-maild from a fixed path, with no arguments and a minimal environment. Before reading anything from the network it loads the system's certificate authorities and locks itself in with the same helper sandbox as LordOS's other decoders: write access only to its cache folder, no socket, connect, bind, execve or fork, threads only, no capabilities, its own cgroup.
  2. It asks for each connection. To reach a server it sends lord-server a request: host and port. lord-server checks that endpoint against your accounts file, and only then connects and passes the connected socket back. Allowed endpoints are exactly your accounts' IMAP, SMTP and calendar/contacts servers, plus other hosts of the same domain on port 443 when a calendar server redirects during discovery.
  3. TLS is checked properly. Every connection is verified against the system's certificate store and the server name. A certificate that doesn't verify is never accepted silently: Mail shows the problem and its fingerprint, and only if you press Trust This Certificate is that exact certificate remembered for that account.
  4. HTML is translated, not executed. Mail uses no web engine (WebKit runs only in lord-web, the separate process of the optional web apps), and it doesn't need one. LordOS's own sanitizer turns a message's HTML into a small tree of blocks, tables, text runs, images and links, and Mail draws it with native views. Scripts, styles, frames, forms, SVG, media, event handlers and hidden "preheader" tricks are dropped.

What you see and decide#

  • Remote images are blocked until you press Load Images for that message or Always from this sender. Even then, lord-server allows only those image hosts, on ports 80 and 443, for ten minutes, and refuses any address that isn't public (local network, loopback, cloud metadata and similar), checked on the address it actually connects to. Tracking pixels are counted and never shown.
  • Deceptive links are flagged in red with a warning when the visible text looks like an address but points somewhere else, or uses tricks like an IP address, user@ or look-alike characters. Clicking shows the real destination. Mail never opens a browser by itself; you can copy the address.
  • Tracking removed from links (in development): utm_ and other tracking parameters are dropped and known link redirectors are unwrapped, so the address you copy is where the link really goes. Nothing is fetched to do it.
  • The apps themselves are isolated. Since 0.8.2, Mail, Calendar, Contacts and Reminders each run as their own sandboxed process, like an installed .lpk app, and reach mail and the keyring only through broker requests allowed for these four apps alone. Since 0.8.5, the connections to your mail servers also come from a process of their own, so they get their own row and rules in Monitor → Network.
  • Passwords never touch a file. Mail stores account passwords in the system keyring (see Passwords) and hands them to lord-maild in memory only. Since 0.8.8.6, when the keyring is still locked at boot (with automatic login, or after the login password was changed outside LordOS), the accounts wait, the keyring prompt shows once, and every waiting account gets its password as soon as the keyring opens, instead of Mail asking again at every boot; when a password can't be kept, Mail says why. The accounts file holds servers, user names, signatures and trusted certificate fingerprints, and the code refuses to write a password into it.
A newsletter with its remote images blocked until you ask for them.
A newsletter with its remote images blocked until you ask for them.
A deceptive link flagged in red, with its real destination.
A deceptive link flagged in red, with its real destination.

The skeptical reader's questions#

What if a message exploits a bug in the parser? That is what the design assumes will eventually happen. The parser runs in lord-maild, which can't create sockets, can't run programs and can only write to its own cache. The parsers are tested heavily: 47,467 checks in mail-test, including mutation fuzzing of MIME, charsets, the HTML sanitizer, iCalendar, vCard, XML and the calendar sync helpers, plus separate suites for the network layer and the connector.

Could a hijacked helper talk to my local network? Only to the servers in your accounts file. Image grants are limited to public addresses, and the check runs on the address actually connected, so a DNS trick can't redirect it to your router.

Does the desktop freeze while mail syncs? No. Requests are asynchronous; inside the helper, network work runs on one thread per account. Measured on a test VM: a 10,000-message folder syncs in about 2 s and opens from the local cache in about 20 ms.

Is OAuth sign-in supported? For Microsoft, yes, since 0.8.9.6.3: Outlook.com, Hotmail and Live accounts, and Microsoft 365 work or school accounts once their organization's administrator has approved "LordOS Mail", can Sign in with Microsoft in your own default browser, so Mail never sees your password. The sign-in answer comes back to a tiny sandboxed helper, lord-oauthcb, that listens only on 127.0.0.1 for at most 5 minutes; the tokens stay in the mail helper's memory and the system keyring, never in the desktop's JavaScript, and Mail uses them for IMAP and SMTP (XOAUTH2). If your organization turned off IMAP or SMTP for your mailbox, Mail says so. Tried on 2026-11-29 with two personal Microsoft accounts; a work or school account was not tried. Gmail still needs a registered client ID, so it uses app passwords. Since 0.8.9.6.3, Add Account shows the steps to make one for Gmail, Yahoo and the other built-in providers as soon as you type the address, with an Open Page button to each page, and removes the spaces from a pasted Gmail app password. One large provider allows its calendars and contacts only over OAuth: Add Account shows it as "not available yet" instead of asking for a password.

Calendar, week view, with several coloured calendars.
Calendar, week view, with several coloured calendars.
An invitation in Mail: Accept, Maybe or Decline, and the reply goes to the organizer.
An invitation in Mail: Accept, Maybe or Decline, and the reply goes to the organizer.

Honest limits#

  • No real provider accounts have been tested. The test VM used local IMAP, SMTP and CalDAV/CardDAV servers with a test certificate authority. The built-in provider settings come from the providers' published values; the calendar and contacts preset was checked against a local Radicale server and with test answers shaped like the provider's.
  • Not yet: editing a single occurrence of a repeating event, creating calendars or address books on the server, multibyte CJK charsets, and IMAP QRESYNC.
  • Sign in with Microsoft (since 0.8.9.6.3) was tried only with personal accounts, not with a work or school one; Gmail's OAuth sign-in waits for a registered client ID.

Read the source#

Read the source

The code behind this feature, on GitHub.

·