Information to Keep in Mind:
-
The FROM EMAIL is taken from the Google account used to create the project.
-
The FROM NAME is taken from the Organization Name field under Settings > Organization > Organization Data.
-
The REPLY-TO address is taken from the account configured in Mail Server > SMARTFENSE Server, in the Reply-To field.
Configuration Guide
- Sign in to the Google Cloud Console at https://console.cloud.google.com/welcome/new and create a new project:
-
-
- Go to the APIs & Services > Library section from the sidebar:
- Search for the Gmail API:
-
- Create the necessary credentials to use the API:
-
- Set up the Consent Screen:
-
Configure the scope of the credentials:
- Add the following scope https://mail.google.com/ and click Update:
- Click on Save and Continue:
- Select the type of application that will use the OAuth Client ID. In this case, the value to use is Web application. Once selected, click on ADD URI.
- Add the following URL: https://filialsoporte2.takesecurity.com/custom-email-server-google-oauth2callback/ and click Create:
-
- Paste the contents of the downloaded JSON file into the JSON Private Key field in SMARTFENSE. Once done, click the Save and Verify button.
- Select the Google Workspace account used to create the project:
- Click the Allow button.