Filter creation fails with insufficientPermissions
Creating Gmail filters fails with a scope error even when the account is authorized with the gmail service.
Reproduction
# Authorize account
gog auth add user@example.com --services=gmail
# Labels work fine
gog gmail labels create "TestLabel" --account=user@example.com
# Created label: TestLabel (id: Label_2)
# Filter creation fails
gog gmail settings filters create --from="test@example.com" --add-label="TestLabel" --account=user@example.com
# Google API error (403 insufficientPermissions): Request had insufficient authentication scopes.
Filter creation fails with insufficientPermissions
Creating Gmail filters fails with a scope error even when the account is authorized with the
gmailservice.Reproduction