Gmail Server Configuration

To configure a mail server that uses Gmail protocol, perform the following task:

  1. Login to https://console.developers.google.com using your Gmail account.

  1. Go to APIs & Services, and in the Dashboard, click Enable API and Services.

  2. Search for the following and enable them:

  • Admin SDK

  • Gmail API

  • Google People API

  1. Go to Navigation menu and click I AM & Admin .

  2. Click Service Accounts, create a new Service Account or select an existing account.

  3. To create a new service account, click on Create Service Account, then input Name, Description, and Email, then click Create and Continue or Done.

  4. Click the Service Account you want to configure.

  5. Scroll down and click Show Advanced Settings.

  6. Write down the Client ID found under Domain Wide Delegation. Client ID will be required on the following steps.

  7. Click KEYS tab and click Add Key.

  8. 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.

  1. To configure the Gmail API Client access, go to http://admin.google.com/.

  2. In the main menu, select Security and click API Control.

  3. In the Domain wide delegation pane, select Manage Domain Wide Delegation.

  4. Click Add new.

  5. In the Client ID field, enter the client ID obtained from the service account creation in step 9.

  6. 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/.

  7. Click Authorize.