IMAP - Gmail - Create JobΒΆ

  1. Have the credentials file that you downloaded from your Google Web Application handy.

  2. Click +ADD JOB

  3. Click the imap wizard icon to launch the IMAP wizard.

    ../../_images/gmail-create-job__icon.png
  4. Choose Gmail OAuth2 auth with provided credentials.

    ../../_images/gmail-create-job__page1_a.png

    This will allow you to enter credentials and save them as named credentials which can be used in other Zuar Runner jobs.

    1. For IMAP SERVER URI, enter imap.gmail.com

    2. Provide a name that the credentials will be saved as in PROVIDE CREDENTIALS NAME

    3. Enter the email address to use in USER EMAIL

    4. Copy the contents of the JSON credentials file associated with your Google Web Application to the clipboard. Paste the clipboard contents into the GMAIL CREDENTIAL JSON field.

      ../../_images/gmail-create-job__page1_b.png
  5. Click NEXT

  6. On the next page of the wizard, click CLICK HERE TO AUTHENTICATE.

    ../../_images/gmail-create-job__page2.png
  7. You will be prompted to login to Gmail and to allow Zuar Runner to access your email.

    Because the GCP app created in an earlier step here was pushed to production and is unverified, two warnings will be displayed.

    1. The first warning will be displayed. Click the Advanced button.

      ../../_images/gmail-create-job__page3.png
    2. The second warning will be displayed. Click the unsafe button.

      ../../_images/gmail-create-job__page4.png
  8. After you have granted access, the following confirmation page will be displayed in a new browser tab:

    ../../_images/gmail-create-job__pageX.png
  9. Close the browser tab containing the confirmation page and return to the tab with the Zuar Runner IMAP wizard.

  10. Click NEXT on the bottom-right of the page.

  11. You will be taken to the Job Details page for the IMAP job that was just created.