Directories
¶
| Path | Synopsis |
|---|---|
|
Package activity records what maild does in the background as typed entries that hold no text (ADR-0055), keeps the newest in memory, and delivers them to the connections that subscribed.
|
Package activity records what maild does in the background as typed entries that hold no text (ADR-0055), keeps the newest in memory, and delivers them to the connections that subscribed. |
|
Package authres works out a sender check from an Authentication-Results header (RFC 8601), as design/rendering.md describes (ADR-0050).
|
Package authres works out a sender check from an Authentication-Results header (RFC 8601), as design/rendering.md describes (ADR-0050). |
|
Package blob stores raw messages by content: each blob is a file named by the hex SHA-256 of its bytes, under <dir>/<first two hex digits>/<sha> (docs/design/storage.md).
|
Package blob stores raw messages by content: each blob is a file named by the hex SHA-256 of its bytes, under <dir>/<first two hex digits>/<sha> (docs/design/storage.md). |
|
Package calendar reads iCalendar events and expands their occurrences (docs/design/pim.md, Calendars; ADR-0018).
|
Package calendar reads iCalendar events and expands their occurrences (docs/design/pim.md, Calendars; ADR-0018). |
|
Package compose builds outgoing mail: the rules for replies and forwards (this file) and the message builder (docs/design/send.md).
|
Package compose builds outgoing mail: the rules for replies and forwards (this file) and the message builder (docs/design/send.md). |
|
Package config resolves where maild keeps its files (docs/design/overview.md#configuration).
|
Package config resolves where maild keeps its files (docs/design/overview.md#configuration). |
|
Package contentline reads and patches the content lines of vCard (RFC 6350) and iCalendar (RFC 5545) objects.
|
Package contentline reads and patches the content lines of vCard (RFC 6350) and iCalendar (RFC 5545) objects. |
|
Package datalock is the one-maild-per-data-directory lock: an exclusive flock on <data dir>/maild.lock, held for the life of the process or until released.
|
Package datalock is the one-maild-per-data-directory lock: an exclusive flock on <data dir>/maild.lock, held for the life of the process or until released. |
|
Package davsession scripts the write sessions that are recorded against a provider's servers and replayed in tests (docs/design/testing.md, DAV and Tasks recordings).
|
Package davsession scripts the write sessions that are recorded against a provider's servers and replayed in tests (docs/design/testing.md, DAV and Tasks recordings). |
|
Package davtest is an in-process CardDAV and CalDAV server for tests, as imapxtest is for IMAP (docs/design/pim.md): memory collections, ETags, sync tokens over a change log, conditional writes, and hooks to change objects as another client would and to make requests fail.
|
Package davtest is an in-process CardDAV and CalDAV server for tests, as imapxtest is for IMAP (docs/design/pim.md): memory collections, ETags, sync tokens over a change log, conditional writes, and hooks to change objects as another client would and to make requests fail. |
|
Package davx is Frostmail's WebDAV client for CardDAV (RFC 6352) and CalDAV (RFC 4791): discovery, collections, sync-collection (RFC 6578), multiget, and conditional writes of raw objects (ADR-0017).
|
Package davx is Frostmail's WebDAV client for CardDAV (RFC 6352) and CalDAV (RFC 4791): discovery, collections, sync-collection (RFC 6578), multiget, and conditional writes of raw objects (ADR-0017). |
|
Package dbustest runs a private D-Bus daemon for tests of code that talks to session services (the Secret Service, notifications).
|
Package dbustest runs a private D-Bus daemon for tests of code that talks to session services (the Secret Service, notifications). |
|
desktop
|
|
|
commands
Package commands is the desktop app's list of commands (docs/specs/ui.md, Keyboard map and Command palette; plan 0015): every command's ID, keys, names in the modules where it acts, group, and what it needs.
|
Package commands is the desktop app's list of commands (docs/specs/ui.md, Keyboard map and Command palette; plan 0015): every command's ID, keys, names in the modules where it acts, group, and what it needs. |
|
compose
Package compose is the desktop app's compose window (docs/specs/compose-ui.md; plan 0015, Phase 5): the draft's HTML through MyGo's rich text editor, the recipients, the attachments, and sending.
|
Package compose is the desktop app's compose window (docs/specs/compose-ui.md; plan 0015, Phase 5): the draft's HTML through MyGo's rich text editor, the recipients, the attachments, and sending. |
|
conn
Package conn connects the desktop app to maild: on the local socket or named pipe, or through lodge's /app/mail/api WebSocket (docs/design/desktop.md, On a maild behind lodge), and keeps the connection: it reconnects every second and pings lodge, which closes a session after 90 s without a frame.
|
Package conn connects the desktop app to maild: on the local socket or named pipe, or through lodge's /app/mail/api WebSocket (docs/design/desktop.md, On a maild behind lodge), and keeps the connection: it reconnects every second and pings lodge, which closes a session after 90 s without a frame. |
|
icons
Package icons holds the few icons the desktop app draws that frostui's set has no name for: a star, a muted bell, a smart mailbox, and the flags in their seven colors.
|
Package icons holds the few icons the desktop app draws that frostui's set has no name for: a star, a muted bell, a smart mailbox, and the flags in their seven colors. |
|
launcher
Package launcher shows the All Inboxes count on the app's launcher icon.
|
Package launcher shows the All Inboxes count on the app's launcher icon. |
|
live
Package live keeps the desktop app's data current from maild (docs/design/app.md, Data): an event fan-out per connection, a view model per open list, and the mail store.
|
Package live keeps the desktop app's data current from maild (docs/design/app.md, Data): an event fan-out per connection, a view model per open list, and the mail store. |
|
mail
Package mail holds the desktop app's mail logic, with no UI: the sidebar's sources and their view queries, the mailbox tree, the rules of the actions on messages, undo, and date formats (docs/specs/ui.md).
|
Package mail holds the desktop app's mail logic, with no UI: the sidebar's sources and their view queries, the mailbox tree, the rules of the actions on messages, undo, and date formats (docs/specs/ui.md). |
|
mainwin
Package mainwin is the desktop app's main window: the frame, the panes and the commands, over the live data (plan 0015).
|
Package mainwin is the desktop app's main window: the frame, the panes and the commands, over the live data (plan 0015). |
|
organize
Package organize is the desktop app's editors of maild's conditions and rules, and the sheets built on them (docs/specs/organize-ui.md; plan 0015, Phase 6): smart mailboxes, rules, mailboxes and Redirect.
|
Package organize is the desktop app's editors of maild's conditions and rules, and the sheets built on them (docs/specs/organize-ui.md; plan 0015, Phase 6): smart mailboxes, rules, mailboxes and Redirect. |
|
pim
Package pim is the desktop app's Calendar, People and Tasks modules, the To-Do Bar, the event window and the reminders window (docs/specs/pim-ui.md; plan 0015, Phase 7).
|
Package pim is the desktop app's Calendar, People and Tasks modules, the To-Do Bar, the event window and the reminders window (docs/specs/pim-ui.md; plan 0015, Phase 7). |
|
settings
Package settings is the desktop app's settings window, its first run, and the change between this computer's maild and lodge's (docs/specs/settings-ui.md; plan 0015, Phase 8).
|
Package settings is the desktop app's settings window, its first run, and the change between this computer's maild and lodge's (docs/specs/settings-ui.md; plan 0015, Phase 8). |
|
uikit
Package uikit holds UI patterns meant for frostui (plan 0015).
|
Package uikit holds UI patterns meant for frostui (plan 0015). |
|
Package discover finds an address's mail servers (docs/design/accounts.md, Discovery): provider profiles, Mozilla autoconfig documents (also served by the ISPDB) and RFC 6186 SRV records.
|
Package discover finds an address's mail servers (docs/design/accounts.md, Discovery): provider profiles, Mozilla autoconfig documents (also served by the ISPDB) and RFC 6186 SRV records. |
|
Package engine implements the maild API domains over the store; the sync engine joins it in M1 (docs/design/overview.md).
|
Package engine implements the maild API domains over the store; the sync engine joins it in M1 (docs/design/overview.md). |
|
Package events fans committed events out to subscribed connections and replays the durable log for subscribers that resume (docs/specs/rpc-protocol.md).
|
Package events fans committed events out to subscribed connections and replays the durable log for subscribers that resume (docs/specs/rpc-protocol.md). |
|
Package graph is Frostmail's client for the part of Microsoft Graph that Microsoft accounts' contacts and calendars need (ADR-0039, ADR-0040; docs/design/pim.md, Microsoft Graph): listing calendars and contact folders, delta rounds, reading events, series and contacts, and turning them into the iCalendar and vCard sources the rest of maild reads.
|
Package graph is Frostmail's client for the part of Microsoft Graph that Microsoft accounts' contacts and calendars need (ADR-0039, ADR-0040; docs/design/pim.md, Microsoft Graph): listing calendars and contact folders, delta rounds, reading events, series and contacts, and turning them into the iCalendar and vCard sources the rest of maild reads. |
|
Package graphtest is an in-process Microsoft Graph for tests of Graph sync (docs/design/pim.md, Microsoft Graph), as davtest is for DAV: the account's calendars and contact folders in memory, delta rounds with tokens and pages, series read with their exceptions, contact photos, Graph's writes, and hooks that play another client's changes.
|
Package graphtest is an in-process Microsoft Graph for tests of Graph sync (docs/design/pim.md, Microsoft Graph), as davtest is for DAV: the account's calendars and contact folders in memory, delta rounds with tokens and pages, series read with their exceptions, contact photos, Graph's writes, and hooks that play another client's changes. |
|
Package gtasks is a client of the Google Tasks API (v1) for pimsync (docs/design/pim.md, Tasks): task lists, tasks with their JSON kept as sent, and the writes Frostmail makes.
|
Package gtasks is a client of the Google Tasks API (v1) for pimsync (docs/design/pim.md, Tasks): task lists, tasks with their JSON kept as sent, and the writes Frostmail makes. |
|
gtaskstest
Package gtaskstest is an in-process Google Tasks API (v1) for tests, as davtest is for DAV (docs/design/pim.md, Testing): task lists and tasks in memory with Google's JSON, paging, updatedMin, hidden and deleted tasks, positions among siblings, a bearer token, and hooks to change tasks as another client would and to make requests fail.
|
Package gtaskstest is an in-process Google Tasks API (v1) for tests, as davtest is for DAV (docs/design/pim.md, Testing): task lists and tasks in memory with Google's JSON, paging, updatedMin, hidden and deleted tasks, positions among siblings, a bearer token, and hooks to change tasks as another client would and to make requests fail. |
|
Package httprec records HTTP sessions and replays them in tests (docs/design/testing.md, DAV and Tasks recordings), as imapx's trace and replay do for IMAP.
|
Package httprec records HTTP sessions and replays them in tests (docs/design/testing.md, DAV and Tasks recordings), as imapx's trace and replay do for IMAP. |
|
Package imapx is frostmail's only door to IMAP.
|
Package imapx is frostmail's only door to IMAP. |
|
imapxtest
Package imapxtest runs go-imap's in-memory IMAP server for unit tests.
|
Package imapxtest runs go-imap's in-memory IMAP server for unit tests. |
|
replay
Package replay serves a recorded IMAP session back to a client (docs/design/testing.md, transcript replay).
|
Package replay serves a recorded IMAP session back to a client (docs/design/testing.md, transcript replay). |
|
Package itip reads iTIP messages that arrive in mail (RFC 5546, RFC 6047) and writes the user's answers: the REPLY mailed to an organizer and the PARTSTAT patch of a stored event (ADR-0019; ADR-0018's patches).
|
Package itip reads iTIP messages that arrive in mail (RFC 5546, RFC 6047) and writes the user's answers: the REPLY mailed to an organizer and the PARTSTAT patch of a stored event (ADR-0019; ADR-0018's patches). |
|
Package lodge serves maild as lodge's mail app on its app socket (docs/specs/lodge-app.md, ADR-0041): /health, the /api WebSocket as caller session, and /content/ for reader pages, parts and whole messages, which lodge-content serves to the reader's frame and to downloads.
|
Package lodge serves maild as lodge's mail app on its app socket (docs/specs/lodge-app.md, ADR-0041): /health, the /api WebSocket as caller session, and /content/ for reader pages, parts and whole messages, which lodge-content serves to the reader's frame and to downloads. |
|
Package mailgen generates reproducible synthetic mail: threads, MIME variety and flags, for load tests (make mailtest-seed) and the app's fixture data (tools/uifixture).
|
Package mailgen generates reproducible synthetic mail: threads, MIME variety and flags, for load tests (make mailtest-seed) and the app's fixture data (tools/uifixture). |
|
Package mailsync keeps each account's local store in step with its IMAP server: one actor per account runs the reconcile pass, watches INBOX with IDLE, polls the other mailboxes and fetches bodies on demand (docs/design/sync.md).
|
Package mailsync keeps each account's local store in step with its IMAP server: one actor per account runs the reconcile pass, watches INBOX with IDLE, polls the other mailboxes and fetches bodies on demand (docs/design/sync.md). |
|
Package mcpserver serves the user's mail to agents over the Model Context Protocol, behind lodge's /mcp/mail (docs/specs/lodge-app.md, /mcp; ADR-0041).
|
Package mcpserver serves the user's mail to agents over the Model Context Protocol, behind lodge's /mcp/mail (docs/specs/lodge-app.md, /mcp; ADR-0041). |
|
Package mimex parses and normalizes mail messages for frostmail; the x marks it as frostmail's layer over the standard mime packages.
|
Package mimex parses and normalizes mail messages for frostmail; the x marks it as frostmail's layer over the standard mime packages. |
|
Package notify announces new mail on the desktop (docs/design/desktop.md, Notifications): the texts (notes.go) and, later, the D-Bus sender.
|
Package notify announces new mail on the desktop (docs/design/desktop.md, Notifications): the texts (notes.go) and, later, the D-Bus sender. |
|
Package oauth signs maild in to OAuth providers (docs/design/accounts.md, Sign-in; ADR-0011): the protocol pieces (protocol.go), provider endpoints, and later the loopback flow and the token manager.
|
Package oauth signs maild in to OAuth providers (docs/design/accounts.md, Sign-in; ADR-0011): the protocol pieces (protocol.go), provider endpoints, and later the loopback flow and the token manager. |
|
Package pimsync keeps each account's address books, calendars and task lists in step with its servers (docs/design/pim.md, ADR-0017): one loop per account with a service on, beside mail's actor and independent of it, polling every 5 minutes, at once on request and after a local change.
|
Package pimsync keeps each account's address books, calendars and task lists in step with its servers (docs/design/pim.md, ADR-0017): one loop per account with a service on, beside mail's actor and independent of it, polling every 5 minutes, at once on request and after a local change. |
|
Package problemrec makes the problem recorders of maild and mailctl (ADR-0049): github.com/frostyard/std/problems with Frostmail's app ID and the release version of the build, or an inert recorder for a build that is no release.
|
Package problemrec makes the problem recorders of maild and mailctl (ADR-0049): github.com/frostyard/std/problems with Frostmail's app ID and the release version of the build, or an inert recorder for a build that is no release. |
|
Package problemstest is a journal socket for tests of problem records (ADR-0049): a unixgram socket in a temporary folder that a recorder made with problems.WithSocket writes to, and the checks of what it received.
|
Package problemstest is a journal socket for tests of problem records (ADR-0049): a unixgram socket in a temporary folder that a recorder made with problems.WithSocket writes to, and the checks of what it received. |
|
Package providers holds what Frostmail knows about mail providers: their servers, the sign-in kinds they accept, and the quirks the sync engine honors (docs/design/accounts.md, Provider profiles).
|
Package providers holds what Frostmail knows about mail providers: their servers, the sign-in kinds they accept, and the quirks the sync engine honors (docs/design/accounts.md, Provider profiles). |
|
Package reminders fires calendar reminders when their alarms come due (docs/design/pim.md, Reminders): it records them as fired, tells the app, and, while the app is away, shows desktop notifications.
|
Package reminders fires calendar reminders when their alarms come due (docs/design/pim.md, Reminders): it records them as fired, tells the app, and, while the app is away, shows desktop notifications. |
|
Package render prepares stored messages for the reader: sanitized HTML whose images are embedded as data: URLs (WebKitGTK does not load the app's mailpart:// scheme inside the reader's frame), inline parts decoded into the parts cache, and remote images fetched only on request (docs/design/rendering.md, ADR-0005).
|
Package render prepares stored messages for the reader: sanitized HTML whose images are embedded as data: URLs (WebKitGTK does not load the app's mailpart:// scheme inside the reader's frame), inline parts decoded into the parts cache, and remote images fetched only on request (docs/design/rendering.md, ADR-0005). |
|
Package rpcserver serves the maild API on lodge's kit (github.com/frostyard/lodge/kit/jsonrpc): rpc.hello, events.subscribe, a caller per connection and whether the app attends.
|
Package rpcserver serves the maild API on lodge's kit (github.com/frostyard/lodge/kit/jsonrpc): rpc.hello, events.subscribe, a caller per connection and whether the app attends. |
|
Package rpctest runs a real maild API server (store, broker, views, engine, rpcserver and optionally sync) on a temporary socket, for tests of clients such as mailctl and for end-to-end sync tests.
|
Package rpctest runs a real maild API server (store, broker, views, engine, rpcserver and optionally sync) on a temporary socket, for tests of clients such as mailctl and for end-to-end sync tests. |
|
Package search parses the search language (docs/specs/search.md) into a Query the store turns into SQL over messages and messages_fts.
|
Package search parses the search language (docs/specs/search.md) into a Query the store turns into SQL over messages and messages_fts. |
|
Package secrets keeps account credentials out of the database (docs/design/storage.md#credentials): the Secret Service over D-Bus on Linux, a file sealed with DPAPI on Windows, and a plain File for development.
|
Package secrets keeps account credentials out of the database (docs/design/storage.md#credentials): the Secret Service over D-Bus on Linux, a file sealed with DPAPI on Windows, and a plain File for development. |
|
Package smtpx is frostmail's only door to SMTP: it hands one built message to an account's submission server (docs/design/send.md, Outbox) and says whether a failure is worth retrying.
|
Package smtpx is frostmail's only door to SMTP: it hands one built message to an account's submission server (docs/design/send.md, Outbox) and says whether a failure is worth retrying. |
|
smtpxtest
Package smtpxtest runs an in-process SMTP submission server for tests of sending: it records accepted messages and can refuse or hold them.
|
Package smtpxtest runs an in-process SMTP submission server for tests of sending: it records accepted messages and can refuse or hold them. |
|
Package store is maild's SQLite database: migrations, the single writer, the durable event log and the queries (docs/design/storage.md).
|
Package store is maild's SQLite database: migrations, the single writer, the durable event log and the queries (docs/design/storage.md). |
|
Package unsubscribe works out how a list message can be left and sends RFC 8058 one-click requests (ADR-0027): an HTTPS POST that carries nothing of the user's and never reaches the user's own network.
|
Package unsubscribe works out how a list message can be left and sends RFC 8058 one-click requests (ADR-0027): an HTTPS POST that carries nothing of the user's and never reaches the user's own network. |
|
Package vcardx reads the fields Frostmail shows from vCards (RFC 2426 version 3.0 and RFC 6350 version 4.0) over internal/contentline, and builds the vCard Add to Contacts creates (docs/design/pim.md).
|
Package vcardx reads the fields Frostmail shows from vCards (RFC 2426 version 3.0 and RFC 6350 version 4.0) over internal/contentline, and builds the vCard Add to Contacts creates (docs/design/pim.md). |
|
Package view keeps live, ordered message lists for clients (the view domain in docs/specs/rpc-api.md).
|
Package view keeps live, ordered message lists for clients (the view domain in docs/specs/rpc-api.md). |
|
Package workflowcheck holds the tests that keep the repository's own files in line with frostyard/core: the GitHub Actions workflows within ADR-0021 (external actions pinned to a full commit SHA, permissions declared at the top, and checkouts that do not keep the token), and the files of the repository baseline (ADR-0071, rows B1, B2, B6 and B13): the instruction symlinks, the corrections inbox, the risk-path list and the Dependabot entries.
|
Package workflowcheck holds the tests that keep the repository's own files in line with frostyard/core: the GitHub Actions workflows within ADR-0021 (external actions pinned to a full commit SHA, permissions declared at the top, and checkouts that do not keep the token), and the files of the repository baseline (ADR-0071, rows B1, B2, B6 and B13): the instruction symlinks, the corrections inbox, the risk-path list and the Dependabot entries. |
Click to show internal directories.
Click to hide internal directories.