Skip to end of metadata
Go to start of metadata

A.      Create a project at Google API Console

  1. Go to https://console.developers.google.com/
  2. Login with the admin user of the domain(admin@example.com)
  3. Select a project and create a new project

                

      4. Enter project name  and select Create button

              

B.      Enable Gmail API

  1. Click Library and search for Gmail
  2. Click Enable button

C. Credentials and authentication

  1. Click Credentials
  2. Click Create Credentials button
  3. Select Service Account
  4. Enter Service Account Name
  5. Select Continue button
  6. Select Done button
  7. Select the Service Account.
  8. Click Show Domain-Wide Delegation
  9. Click Enable G Suite Domain-wide Delegation
  10. Click Save button
  11. Click Create Key button and select P12
  12. Copy the Client ID
  13. Click Close
  14. Save the .p12 file for later use.
  15. Login to https://admin.google.com/ using your gsuite admin account
  16. Select Security
  17. Select Advance Settings -> Manage API client access
  18. Enter Client ID to Client Name and below for the values

https://mail.google.com, https://www.googleapis.com/auth/gmail.compose, https://www.googleapis.com/auth/gmail.modify, https://www.googleapis.com/auth/gmail.readonly

D. Outgoing Mail Setup

  1. Login to ehelpdesk and go to Mail
  2. Select Gmail Api and fill out the details
  3. Enter and email address in Test Email and click the Test Email button

 

E. Incoming Mail Setup

  1. Click New Inbox button and fill out the Email to ticket config
  2. Click Save Changes button
  3. Edit the Email To Ticket Configuration
  4. Click Test button

 

 

 

  • No labels