Google Mail
Overview
Gmail, Google’s email service, offers a comprehensive platform for communication and productivity. With features like advanced search capabilities, powerful filters, and seamless integration with other Google Workspace tools, Gmail is a cornerstone of modern email management.
By integrating Suger with Gmail, users can leverage automation workflows to enhance email productivity. Tasks such as sending emails, applying labels for organization, and managing threads can be automated, improving efficiency and enabling customized email workflows tailored to specific needs.
Org-Level vs User-Level
When to use Org-Level: Use org-level integration when you want all users in your organization to have access to Gmail data through a shared service account. Best for company-wide data access.
When to use User-Level: Use user-level integration when each user needs to connect their personal Google Mail account. Each user authenticates with their own credentials.
Create Integration (Org-Level)
Authenticate by OAuth2.0 (Recommended)
- Click the
Connect Nowbutton, selectOAuth2.0as the authentication method, and clickCreate. You will be redirected to the Google OAuth2.0 authentication page.
- Click the
Allowbutton to grant Suger permission to access your Gmail account. This authorization enables Suger to send emails on your behalf.
-
After the authorization is granted, you will be redirected to the Suger console. You can see the integration is connected successfully.
-
Verify the integration by clicking the
Verifybutton. If the integration is successful, you will see theVerifiedstatus.
Authenticate by a Service Account
-
Create a service account in your target GCP project for Google Mail integration.
-
Enable the Gmail API in the same Google project.
-
Create the service account key, and download the associated JSON file. It is required for the following integration.
-
Enable G-Suite Domain-wide Delegation for the service account.
-
Specify the impersonated email address, select the appropriate scopes configured in the previous step, and store the JSON key file contents within the Suger console integration page.
Create User Integration
- Click
Connect Nowbutton in the User Integrations section, you will be redirected to the Google OAuth2.0 authentication page.
- Click the
Allowbutton to grant Suger permission to access your Google mail account. This authorization enables Suger to read and send emails on your behalf.
-
After the authorization is granted, you will be redirected to the Suger console. You can see the integration is connected successfully.
-
Verify the integration by clicking the
Verifybutton. If the integration is successful, you will see theVerifiedstatus.
Edit Integration
Editing is not supported for security reasons. To change configuration, delete the integration and create a new one.
Delete Integration
The Google Mail integration can be deleted like all other integrations. Once the deletion is triggered, all integration info including the service account with the key will be deleted immediately & permanently from Suger. No time window or methods to recover.

