Add Gmail filter management tools

This commit is contained in:
Taylor Wilsdon
2025-12-13 13:40:05 -08:00
parent 4c914b0de9
commit 2cbeaa5a13
4 changed files with 162 additions and 2 deletions

View File

@@ -34,6 +34,7 @@ GMAIL_SEND_SCOPE = 'https://www.googleapis.com/auth/gmail.send'
GMAIL_COMPOSE_SCOPE = 'https://www.googleapis.com/auth/gmail.compose'
GMAIL_MODIFY_SCOPE = 'https://www.googleapis.com/auth/gmail.modify'
GMAIL_LABELS_SCOPE = 'https://www.googleapis.com/auth/gmail.labels'
GMAIL_SETTINGS_BASIC_SCOPE = 'https://www.googleapis.com/auth/gmail.settings.basic'
# Google Chat API scopes
CHAT_READONLY_SCOPE = 'https://www.googleapis.com/auth/chat.messages.readonly'
@@ -90,7 +91,8 @@ GMAIL_SCOPES = [
GMAIL_SEND_SCOPE,
GMAIL_COMPOSE_SCOPE,
GMAIL_MODIFY_SCOPE,
GMAIL_LABELS_SCOPE
GMAIL_LABELS_SCOPE,
GMAIL_SETTINGS_BASIC_SCOPE
]
CHAT_SCOPES = [