Configure IMAP Server Settings for Google Apps

You can use the IMAP4 protocol to connect the Google Apps for Business email server and the NuPoint UM server. A maximum of 2500 Advanced UM users are supported with this implementation.

To set up IMAP for Google Apps, do the following:

Note:

Enable IMAP Access for Google Apps

You must enable global IMAP access for all users in the Google Apps domain to facilitate the synchronization of voice mail and email messages.

To enable global IMAP access:

  1. Log in to the Google Apps administrator control panel: https://www.google.com/a/cpanel/yourdomainname

  2. Enter the domain administrator Email and password.

  3. Click the Settings tab and select Email.

  4. Clear the Disable POP and IMAP access for all users in the domain check box.
    IMAP access is enabled for all users in the domain, irrespective of their individual account settings.

Configure OAuth for Google Apps

You must configure the OAuth (Open Authentication) 2.0 settings for service accounts. With this type of server-to-server interaction, the Mitel application has to prove its own identity to the Google API but end users do not need to be involved. This enables NuPoint UM to synchronize voice mails and email with Google Apps such as Google Calendar and eliminates the need for users to maintain email passwords on the NuPoint UM system.   

Configuring OAuth is a multi-step process. First, you must log into the Google Apps console and create a new API project. Then you must select a service for the project, create a service account with client ID, and download your credentials (private key and JSON file). Finally, you must log in to MSL and upload your credentials to the server.   

Note:

Create an API Project and Client ID in Google

Note: The following instructions are provided as a guide only. For up-to-date instructions, refer to the following resources:

Log In to the Google API Console

  1. Open a web browser and navigate to https://code.google.com/apis/console.

  2. Enter the domain administrator Email and password to log in.

Create the Project

  1. Click the Create project button.

  2. Enter the Project name (for example, "NuPoint Advanced UM") and click Create. Remain in the project.

Enable Google APIs for the project

  1. Open the side menu and select API Manager.

  2. Select a Google API such as "Calendar API" and click Enable API.

  3. Repeat for all Google APIs you want to support. Remain in the project.

Create the Service Account with Client ID

  1. Open the side menu and select Permissions.

  2. Under the Service accounts tab, select Create service account.

  3. Enter a Name, select Furnish a new private key and JSON as the file type, and then select Enable Google Apps Domain-wide Delegation. Set a Product name if prompted.

  4. Click Create and Close. The service account is created and the file containing the Private Key and Client ID is downloaded.
    Note: Store the file in a safe location. You will require it to establish your credentials to MSL.

  5. For the service account you just created, click View Client ID.

  6. Copy the Client ID and click Cancel. You will require the Client ID in the next procedure.

Manage API Client Access (API Scopes)

Once a service account is created, you must enable the scope of access for your client ID.

  1. Access the Google Admin console:

    1. Open a web browser and navigate to admin.google.com.

    2. Enter the domain administrator Email and password to log in.

  2. Click Security.

  3. Click Show more and then click Advanced settings.

  4. Under Authentication, click Manage API Client access.

  5. On the Manage API client access panel:

    1. Paste the client ID in the Client Name box.

    2. Enter the following in the One or More API Scopes box:
      To support Gmail integration (for NuPoint Advanced UM), enter: https://mail.google.com/

    3. Click Authorize.

The client ID now has access to resources in the specified domains.

Upload Credentials to MSL

This procedure involves uploading your OAuth 2.0 credentials (service account Client ID and Private Key) from your computer to MSL. MiCollab employs these credentials to integrate with publicly available Google Apps.

  1. Log in to the MSL Server Manager as "admin".

  2. In the navigation tree, under Configuration, click Google Apps.

  3. Select the Service Account tab.

  4. Under Configuration, choose the following files from your computer:

Note: The Private Key (.p12 file) file is required only for earlier implementations.

  1. Click Upload Credentials.

  2. Confirm that the Client ID, Email address, and Private Key are correct by comparing them to the corresponding fields in the Google API project.  

It is now possible to configure a secure connection to publicly-available Google Apps using the OAuth 2.0 protocol for the Service Account client ID.

Notes: