🐛 fix(rule_processor): update Gmail API scope

- modify scope to allow broader access to Gmail
This commit is contained in:
Jeremiah Russell
2025-10-14 22:31:41 +01:00
committed by Jeremiah Russell
parent eeeca08e92
commit 66b1263c99

View File

@@ -185,7 +185,7 @@ impl RuleProcessor for GmailClient {
.hub()
.users()
.messages_batch_modify(batch_request, "me")
.add_scope("https://www.googleapis.com/auth/gmail.modify")
.add_scope("https://www.google.com/")
.doit()
.await
.map_err(Box::new)?;