Accounts

posture can show several Gmail accounts in one inbox. Add them one at a time.

Why one at a time

  • The first sync of each account takes a while. It fetches the last 12 months of mail.
  • You learn the keys on one inbox, not several.
  • Bring the first inbox to zero before you add the next. Then a new account never buries you.

The account commands

posture account addSign in to a Gmail account and connect it (or reconnect it).
posture account login <email>Sign in again to an account, for example to allow new permissions.
posture account listList connected accounts.
posture account remove <email>Remove an account and its cached mail from this computer after asking; Gmail is not affected.

An account you add or remove while posture is open shows up after a restart.

Badges and the number keys

Each account has a two-letter badge, made from its address. posture account list prints each badge with its address. In the inbox, every row carries the badge of its account.

The header of the inbox lists your accounts by number, for example 1:NO 2:FE 3:MA. Press 1 to 9 to show or hide that account. A hidden account is marked (off).

What posture doctor checks

Run posture doctor after you connect an account. It prints one line per check. A line starts with ok, warn or FAIL. For each account it checks:

  • Refresh token present. The key that lets posture sign in is in your system keychain. If it is missing, run posture account add.
  • Token refresh works. Google accepts that key.
  • Gmail profile works. posture can reach the account's mailbox.

It also has one line each for Drafts, Mail actions, Contacts, Filters and Calendar. If an account was signed in before a permission was added, the line is a warn and says to run posture account login <email>.

The permissions posture asks for

Google shows these when you sign in. posture asks for five:

  • gmail.modify reads mail and the Gmail signature, changes labels, archives, moves to Trash, reports spam, and saves and sends drafts. It does not allow permanent deletion.
  • contacts.readonly and contacts.other.readonly let posture suggest recipients from your Google Contacts and Other contacts. From saved contacts posture copies names, email addresses, relations, organisations and notes; from Other contacts, names and email addresses only. They stay on your computer.
  • gmail.settings.basic lets posture create, list and remove the Gmail filters that archive one sender's mail and may add a label, only when you ask.
  • calendar.events.owned lets posture read your main calendar, from yesterday to eight weeks ahead, and change only your own answer to an invite: accept, decline or maybe, with Google telling the organiser. The calendar stays on your computer and none of it goes to an AI. If you signed in before this permission existed, run posture account login <email> once to grant it. Until then posture only archives invites whose dates have passed, and the Calendar line in posture doctor says so.