fix(gmail-auth): request explicit filter settings scope

This commit is contained in:
William Valentin
2026-02-22 23:42:40 -08:00
parent 266c37b353
commit 80ce8d9aaf
5 changed files with 23 additions and 6 deletions
+1 -1
View File
@@ -1154,7 +1154,7 @@ Supported delivery modes:
1. Create a Google Cloud project with the Gmail API enabled
2. Create OAuth2 credentials (Desktop application type) and download the JSON file
3. Run `flynn gmail-auth` to complete the OAuth2 flow and store the refresh token
- Requests full Gmail access scope (`https://mail.google.com/`) so all filter operations are allowed
- Requests Gmail scopes for settings + read access (`gmail.settings.basic` + `gmail.readonly`)
For Pub/Sub delivery (push/pull), also enable the Pub/Sub API and create:
- A topic (e.g. `projects/your-project/topics/gmail-push`)