Every time a user tries to relate an email to a Salesforce record, the Gmail Integration side panel displays the following message:
"To add this email to Salesforce, we have to access your Google account. Give Salesforce access to Google?"
If the user clicks OK and enters their Gmail credentials, the same message appears again the next time they try to relate another email. This issue typically occurs when Gmail Integration is enabled with Inbox — specifically when the user is assigned to a permission set that has Inbox enabled.
This error occurs when one of the flags for Gmail Integration in the Authentication Provider object was not set correctly. When Gmail Integration queries for the OAuth token, the result comes back empty, which triggers the repeated prompt to the user.
To resolve the repeated Google access prompt in Gmail Integration, the administrator must revoke the user's existing tokens and delete the Gmail Integration authentication provider from the org. After completing these steps, the user reconnects Gmail Integration from scratch and the prompt no longer appears.
From the Gmail Integration control panel, log out the affected user and close the Gmail tab.
In Salesforce Classic: Go to Setup | Administer | Security Controls | Auth. Providers. Type auth in the Quick Find box and click Auth. Providers under Security Controls.
In Lightning Experience: Click the gear icon | Setup | SETTINGS | Identity | Auth. Providers. Type auth in the Quick Find box and click Auth. Providers under Identity.
Then click the Del link next to Gmail Integration.
After deleting Gmail Integration from the Auth. Providers list, the user should:
Gmail Integration will no longer prompt for permission to access the Google account.
If the issue is not resolved after the steps above, try toggling Inbox off and then on again in the Gmail Integration settings:
In Salesforce Classic: Setup | Administer | Gmail Integration and Sync | Settings
In Lightning Experience: Gear icon | Setup | ADMINISTRATION | Email | Gmail Integration and Sync
After toggling, return to Gmail and try using the Salesforce add-in again.
000381957

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.