Skip to main content
IMAP

Learn to monitor IMAP mailboxes in Gmail & Microsoft 365 for new emails and set up IMAP integration with our easy guide.

Updated over 5 months ago

Monitor folders in an IMAP mailbox for new emails. This article explains how to set up the IMAP integration using either Gmail or Microsoft 365 (Outlook).

Gmail

To set up a Gmail account for the IMAP integration in Torq, you must provide a username and password. The username is the email address of the account, but the password is not the regular account password. You'll need to create an app password for that account. To learn how to create an app password, see here.

In contrast to the Google documentation that says you do not need to remember the app password; MAKE A COPY of it. You'll need this when setting up the IMAP integration.

The app password consists of four groups of four characters without the shown spaces between the groups.

Create an IMAP integration

  1. Go to Build > Integrations > Triggers > IMAP, and click Add.

  2. The following information will be needed:

    1. Integration name: a meaningful name for the integration. For our example, we use outlook_imap.

    2. Server: outlook.office365.com:993.

    3. User: The email address of the account to be monitored.

    4. Password: The password for the email address.

    5. Interval: The monitoring interval for incoming emails. It can be entered in minutes, hours, or days. For example, 1m for 1 minute, 2h for 2 hours, and 1d for 1 day.

    6. Folder: You can use the shaded default, INBOX. The folder name is case-blind, so INBOX and Inbox are the same.

      image.png

Did this answer your question?