Configure an OAuth app for Gmail
https://<your-instance-url>/google/callback
when registering the app. This URL is used to redirect the user back to the Chatwoot instance after authentication.
Set the GOOGLE_OAUTH_CLIENT_ID
and GOOGLE_OAUTH_CLIENT_SECRET
environment variables in your Chatwoot installation using the values you copied from the Google API Console.
https://mail.google.com/
: To read, send, delete, and manage your email.email
: To view the user’s email address.profile
: To view the name and picture etc.https://mail.google.com/
scope: