# Minimum scope required to send mail through the user's own account. GMAIL_SCOPES = [ "https://www.googleapis.com/auth/gmail.send", "https://www.googleapis.com/auth/gmail.compose", ] USERINFO_SCOPE = "openid https://www.googleapis.com/auth/userinfo.email" ALL_SCOPES = GMAIL_SCOPES + [USERINFO_SCOPE]