Gmail Server Configuration
To configure a mail server that uses Gmail protocol, perform the following task:
-
Login to https://console.developers.google.com using your Gmail account.
-
Go to APIs & Services, and in the Dashboard, click Enable API and Services.
-
Search for the following and enable them:
-
Admin SDK
-
Gmail API
-
Google People API
-
Go to Navigation menu and click I AM & Admin .
-
Click Service Accounts, create a new Service Account or select an existing account.
-
To create a new service account, click on Create Service Account, then input Name, Description, and Email, then click Create and Continue or Done.
-
Click the Service Account you want to configure.
-
Scroll down and click Show Advanced Settings.
-
Write down the Client ID found under Domain Wide Delegation. Client ID will be required on the following steps.
-
Click KEYS tab and click Add Key.
-
Select Create new key, then choose Key Type JSON. A pair of private/public key is generated.
The Private Key and the Client Email are necessary to configure Print by Mail in SLNX.
-
To configure the Gmail API Client access, go to http://admin.google.com/.
-
In the main menu, select Security and click API Control.
-
In the Domain wide delegation pane, select Manage Domain Wide Delegation.
-
Click Add new.
-
In the Client ID field, enter the client ID obtained from the service account creation in step 9.
-
In the OAuth Scopes field, enter a comma-delimited list of the scopes required by the application. For Print by Mail, the required scope is https://mail.google.com/.
-
Click Authorize.