Skip to main content
Skip table of contents

How to connect IMAP to Gmail

Google API Client Registration

  1. Open Google API Console in your web browser.

  2. Navigate to APIs and Services

  3. Open Credentials page

  4. Click Create Credentials

  5. Select OAuth client ID

  6. Select application type Web application

  7. Enter a name such as EzeScan IMAP

  8. Add the following URLs to Authorized redirect URIs for sign-in from EzeScan Desktop

  9. Add the following URL to Authorized redirect URIs for sign-in from EzeScan Server web interface
    Note: left part http://localhost:32392 should be replaced with scheme and authority of the public address (if applicable).

  10. Click Create

  11. Copy the Client ID and Client secret to a safe location

Check IMAP is enabled in Gmail

  1. Open Gmail in your web browser

  2. Open the quick settings panel

  3. Click on See all settings

  4. Select Forwarding and POP/IMAP tab

  5. In the IMAP access section select Enable IMAP

  6. Click Save Changes

IMAP Connection Settings

The following are the connection settings to configure in EzeScan > Workstation Options > Connection Profiles.






Security Type

Implicit SSL/TLS

Authentication Type


Grant Type

Authorization Code

Authorisation Endpoint

Token Endpoint


Desktop Redirect URL


Client ID

The client id captured when creating the Google API client registration.

Client Secret

The client secret that was captured when creating the Google API client registration.


The email address of the mailbox to import from.

For example,

Click Sign In button to login to the respective Gmail account.

Use the Test Connection button to ensure the connection to Gmail is working.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.