Skip to content
frostyardPublic

About

A Linux mail client that works like Apple Mail.app: a Go sync daemon, a Tauri + React app and a CLI

Resources

Security policy

Stars

4 stars

Watchers

0 watching

Forks

Latest commit

 

History

1,736 Commits

Folders and files

Repository files navigation

Frostmail icon

Frostmail

CI

A mail client that works like Apple Mail.app.

Frostmail is a desktop mail client for Linux and Windows, for people who want Mail.app's way of working without a GNOME or KDE look. It keeps your mail, contacts, calendars and tasks in a daemon on your machine, which can also serve a phone or a browser on your tailnet through lodge.

Status: pre-release. The roadmap says what works and what comes next.

Documentation: frostyard.org/docs/apps/frostmail

What it does

  • Mail. It syncs, reads, searches and sends generic IMAP, Gmail, iCloud and Outlook.com accounts, and it is the owner's daily mail client. M4
  • Contacts, calendars and tasks over CardDAV, CalDAV, Google Tasks and Microsoft Graph: invitations answered from the reader, events and contacts edited in place, and a To-Do bar beside the inbox. M4.5, M5.5
  • Mail.app's tools: rules, smart mailboxes, VIPs, Send Later and Remind Me. M5
  • maild is a per-user Go daemon that owns sync, a SQLite cache with full-text search, and a JSON-RPC socket. Overview
  • The app is a native Go app on NSGo and Frostyard's kit (ADR-0063), on Linux and Windows. The earlier client, on MyGo and frostui, shipped up to v0.10.0. Desktop design
  • mailctl is a command-line client of the same socket.
  • Mail in lodge: lodge serves the same client's web build, which the .deb installs. The app in Lodge, M8

The main window in the Frostyard theme: unified inboxes for two accounts, flags, threads and an HTML itinerary in the reader

Frostyard light, reading a message Several messages chosen, for the toolbar to act on
Writing a message Settings
People The Calendar's week, laid out by time
Tasks Mail with the To-Do Bar
An invitation in the reader The Calendar's month

The screenshots show the desktop app on Linux, in Frostyard light and once in the Frostyard theme, on made-up mail (tools/uifixture/showcase). They are the app's own test suite's pictures (cmd/frostmail-nsgo/comparison/linux).

Install

Frostmail is on the Frostyard Flatpak remote, with its own maild and mailctl inside; it needs no lodge. Add the remote and Flathub (for the runtime) once, for your user, then install Frostmail and update it with flatpak update:

flatpak remote-add --user --if-not-exists frostyard https://frostyard.github.io/flatpak-index/frostyard.flatpakrepo
flatpak remote-add --user --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
flatpak install --user frostyard org.frostyard.Frostmail

Other ways: each release has frostyard-maild's .deb for lodge's host, and the guide covers the build from source and Windows.

Remove

flatpak uninstall --user org.frostyard.Frostmail

Your mail cache, settings and accounts stay in ~/.var/app/org.frostyard.Frostmail/ unless you add --delete-data. The accounts' passwords and tokens stay in the Secret Service, under the application org.frostyard.Frostmail.

Problem records

maild, mailctl and the app write their panics and a few coded errors (a database that does not migrate, secrets that do not unseal, a sync that cannot store what the server says, a message that cannot be parsed, the app losing maild) to the local systemd journal. They send nothing and open no network connection for it. On snosi images, chairlift can show these records, and it sends nothing without the user's consent. Only release builds record; see ADR-0049.

Develop

Requirements: Go 1.27 and mise install (golangci-lint) on the host; nsl for the app toolchain; incus for the test mail server.

nsl create frostmail --distro debian:13
nsl run -m frostmail --root bash dev/nsl/provision.sh "$(id -un)"
dev/incus/mailtest.sh up
make check          # host: generated files, vet, lint, unit tests
make engine-it      # integration tests against the test mail server
make ui-test        # nsl: typecheck and UI tests
make app-run        # nsl: maild plus the built app

make help lists every target. Architecture starts at docs/design/overview.md.

Try the shared NSGo client

Linux, Windows and Lodge can run the same Go workspace against maild. Mail, drafts, rules, accounts, Calendar, People and Tasks use the existing database and RPC API. The Linux client connects to the local socket or the Lodge address in Frostmail’s server settings.

Build How to open it
Linux checkout Run make nsgo-build, start maild, then run build/frostmail-nsgo.
Flatpak It is the app the Flatpak opens.
Windows The NSGo client builds for Windows (make nsgo-build-windows). The trial installer (make windows-installer) is suspended until plan 0018: no CI job builds or uploads it.
Lodge make web-build, then make deb, builds frostyard-maild's .deb with it; make nsgo-lodge-app stages it as build/nsgo-lodge/apps/mail, the Mail app directory of a test Lodge. It uses the signed-in Lodge session.

For a disposable local trial, make nsgo-test runs the workspace against generated mailboxes and a loopback SMTP server. The authenticated Firefox test (dev/lodge/nsgo-smoke.py) is described in the app in Lodge, and host-specific behavior in the NSGo design decision.

Where to go next

  • AGENTS.md: the rules for agents and contributors.
  • docs/README.md: the decisions, designs, specs and plans.
  • SECURITY.md: report a vulnerability privately.
  • LICENSE: MIT. third_party/go-imap is MIT, from emersion/go-imap, with the patches in its FROSTMAIL-PATCHES.md.

About

A Linux mail client that works like Apple Mail.app: a Go sync daemon, a Tauri + React app and a CLI

Resources

Security policy

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages