Build a desktop email client whose defining feature is a correct unified inbox across several accounts. Accounts: any number of IMAP and SMTP accounts, each with its own credentials in the OS keychain, its own identity (display name, address, signature) and its own colour used consistently throughout the interface. Support both password and OAuth authentication. Sync: incremental IMAP per account with UIDVALIDITY and UIDNEXT tracking, resumable after a dropped connection, running concurrently across accounts without one slow server blocking the others. Per-account sync status visible. Unified inbox, which is the point of this build and where the difficulty is: - One list merging every account's inbox, sorted by the message's Date header normalised to UTC, not by server arrival order. Servers disagree, and mixing local and server time produces a list that reorders itself on refresh. - Each row shows its account colour, so it is always obvious which mailbox a message came from. - Threading operates across accounts: a message sent from a work address and a reply received at a personal one belong to the same thread if References says so. Group them, and mark clearly which account each message in the thread belongs to. - Replying picks the identity of the account the message was received at, automatically, and shows which address it will send from before sending. When a thread spans accounts, reply from the account of the message being replied to, and make the identity switchable in one click. Unified operations: archive, delete, mark read and search work across accounts, dispatching to the right server per message. A single search index covers everything, with a per-account filter. Folders: per-account folder trees, plus unified virtual folders for common cases (all unread, all flagged, all sent) assembled from every account. Safety: HTML rendered in a sandbox with remote images blocked by default, per-sender allow. Also build: drafts saved to the correct account's server folder, attachments, and mbox export per account. Out of scope: mobile apps and push, running a mail server, docking third-party web apps in a sidebar, and any AI feature.