Issue
- Could not validate that the gmail api is set up correctly with the right scopes.
Resolution
- Ensure that the Gmail API (gmail.googleapis.com) is enabled on your Google Project. Head to https://admin.google.com/u/1/ac/owl/domainwidedelegation and ensure that the google client ID has been granted the https://www.googleapis.com/auth/gmail.readonly scope. Ensure that the app with the respective google client id is listed as trusted in the following https://admin.google.com/ac/owl/list?tab=configuredApps.