Gmail setup
Why you need your own Google Cloud project
mxr ships with a default OAuth client ID for quick testing, but Google shows a prominent “unverified app” warning screen when using it. This is normal for open-source projects, Google’s verification process doesn’t fit the local-first model.
For daily use, create your own Google Cloud project. Takes about 5 minutes, removes the warning screen entirely, and means your OAuth credentials are fully under your control. You’ve probably done this before.
Create your Google Cloud project
- Open Google Cloud Console.
- Create a new project (e.g., “mxr-email”).
- Go to APIs & Services > Library and enable the Gmail API.
- Go to APIs & Services > Credentials and click Create Credentials > OAuth client ID.
- Select Desktop app as the application type.
- Copy the Client ID and Client Secret.
Connect your Gmail account
- Run:
mxr accounts add gmail- Enter the client id and secret when prompted.
- Complete browser authorization.
- Verify the runtime account exists:
mxr status- Start syncing:
mxr syncTUI account view
The TUI Accounts page shows runtime accounts, not just config-file accounts. A Gmail account added through browser auth appears there even if it’s not an editable IMAP/SMTP config entry.
Open it with:
Ctrl-pthenOpen Accounts Page
Notes
- Gmail runtime accounts may be runtime-only.
- IMAP/SMTP accounts are editable through the Accounts page and config-backed.
- Compose resolves the sender from the active/default runtime account, not from a static status string.