Because it offers such tremendous power, Gopher for Gmail is restricted to use by G Suite domain super-administrators only.
The API scopes requested by the Sheets Add-on are as follows
|View and manage your spreadsheets in Google Drive.||Used to spawn, format, and import data within the current Sheet the user is running Gopher for Gmail within. No spreadsheet other than the currently active Sheet is ever accessed.|
|Display and run third-party web content in prompts and sidebars inside Google applications.||Used to render the custom sidebar and modal dialogs within Sheets.|
|Connect to an external service.||Used to make calls to Google Analytics (with anonymous reporting info) and Google Cloud hosted infrastructure and as well as a database that backs the tool. Data retained in Amplified IT's custody includes the email identity of users who performed actions within the tool, as well as aggregate information about their actions.|
|View users on your domain||Used to confirm that the currently logged in user is a super-administrator, a requirement for use.|
Client Name and Scopes installation
Gopher for Gmail also requires one-time installation via a Client Name and a list of API scopes within the admin console's Domain-Wide Delegation section as shown below. The values needed for the yellow regions shown below are provided within the Gopher for Gmail sidebar interface. Click Authorize once you have provided these.
Client ID: 113149838232119368247
OAuth scopes: https://www.googleapis.com/auth/userinfo.email,https://www.googleapis.com/auth/userinfo.profile,https://www.googleapis.com/auth/spreadsheets,https://mail.google.com/
|Read, send, delete, and manage your email.||Gopher for Gmail needs full access to user inboxes to perform its mass message search / delete functions. In other words, it performs its message deletions on behalf of users.|
|View your installed application's licensing information.||Used to ensure the correct installation state of the app.|
|View and manage your spreadsheets in Google Drive.||Used to write status messages and logs back to Google Sheets when performing bulk operations.|
|View your email address.||Used to identify the currently logged in user.|
|View your basic profile info.||Used to identify the currently logged in user.|
Performing this action grants domain-wide authority to Gopher for Gmail to use the following API scopes, for the following reasons.