accounts: a desk per account, switched from the header

Parcel kept one Gmail sign-in in the state directory, so a second account meant signing out of the first. Each account now keeps its state in its own directory under accounts/, and gets its own desk and session in the one window, so its filters, selection, open thread and draft stay as they were while another shows. The shown desk's header names its account and offers the others, each with its key and its Inbox's unread count, marked with a dot once mail comes while the user is elsewhere. Ctrl+1 to Ctrl+9, a click there, or the palette switches. Notifications name the account, and each account's replaces only its own. `parcel login gmail NAME` adds an account; plain `parcel login` keeps signing in to the first, Gmail, which is where the files from before accounts move on the first run.


Author rockorager.dev
Date Commit Parent 7c8da6d6
+627 -89
7 changed files
+627 -89
7 changed files