Where and How to Use Service Account? A service account is a special kind of account used by an application, rather than a person. You can use a service account to access data or perform actions by the robot account itself, or to access data on behalf of Google Workspace or Cloud Identity users. In this post, I will review how to execute Gmail API requests using Service Account see the full sample code on GitHub Prerequisites A Google Cloud Platform project With the Admin SDK API enabled service account with domain-wide delegation. A Google Workspace domain. With an active account and granted administrator privileges. Visual Studio 2013 or later Step 1: Set up the Google Cloud Platform project Create a Google Cloud project A Google Cloud project is required to use Google Workspace APIs and build Google Workspace add-ons or apps. If you don't already have a Google Cloud project, refer to: How to Create a Google Cloud project Enable Google Workspace APIs Before using Google APIs, yo...
Using the power of Google APIs I create G Suite Marketplace add-ons, that allow administrators to execute requests on behalf of any user account, within the entire G Suitr domain.