Integromat
  • Back to website
Articles in this section
  • Formstack
  • Magento 2
  • Google Cloud Vision
  • ManyChat
  • Airtable
  • Bubble
  • Email (legacy)
  • Facebook Groups
  • Google Sheets (legacy)
  • HTTP
See more
  1. Integromat Support
  2. Apps
  3. Docs

Email

Integromat Integromat Updated February 19, 2021 14:29

The Email app allows you to download emails via IMAP, send emails via SMTP, create new drafts, move and copy emails from one folder to another folder, mark emails as read or unread, and delete emails.

Prerequisites

  • An email account
The module dialog fields that are displayed in bold (in the Integromat scenario, not in this documentation article) are mandatory!

Connecting Email to Integromat

 You can connect your Email account to Integromat using the following methods:

  • Connect Using Your Gmail Account
  • Connect Other Email Accounts Using IMAP

Connecting Using Gmail Account

1. Go to Integromat and open the Email module's Create a connection dialogue and select the Connection type as Google.

RpVYpSDTly.gif

2. In the Connection name field, enter a name for the connection and click Continue.

emailgoogle-conn.png

3. Confirm the access by clicking Allow.

google-access.png

The connection has been established.

Connecting Other Email using IMAP

1. Go to Integromat and open the Email module's Create a connection dialogue and select the Connection type as Others (IMAP).

2BUXf7ahvG.gif

2. In the Connection name field, enter a name for the connection.

3. In the Email Provider field, do one of the following:

  • Select the email account.
    • User name: Enter your email address.
    • Password: Enter your password.

    Email-imap.png

  • If your email account extension is not mentioned in the drop-down list, select Other and provide the following details:
    • IMAP Server: Enter incoming mail server address (IMAP). If you do not have this information available, contact your email service provider.
    • Port: Enter the port number.
    • Use Secure Connection (TLS): Select to establish a secure connection between the servers.
    • Use explicit TLS: Select to keep your connection encrypted.
    • User name: Enter your email address.
    • Password: Enter your password.

otheremails.png

4. Click Continue.

The connection has been established.

Triggers

Watch Emails

Triggers when a new email is received for processing according to specified criteria.

Connection Establish a connection to your Email account.
Folder Select the folder whose emails you want to watch.
Criteria

Select the criteria of the emails you want to watch:

  • All Emails
  • Only Read Emails
  • Only Unread Emails
Sender Email Address Enter the email address of the sender whose emails you want to watch.
Recipient Email Address Enter the email address of the recipient whose emails you want to watch.
Subject Enter the subject of the email you want to watch.
Phrase Enter any keywords to watch only those emails containing specific phrases.
Mark message(s) as read when fetched Select the option if you want to mark the unread email as read after retrieving the details.
Maximum number of results The maximum number of emails Integromat should return during one scenario execution cycle. 

Actions

Copy an Email

Copies an email or a draft into a selected folder.

Connection Establish a connection to your Email account.
Source Folder Select the folder from which you want to copy the email. For example, Inbox, Primary, Work, and so on.
Destination Folder
Select the folder to which you want to copy the email. For example, Inbox, Primary, Work, and so on.
Email ID (UID)
Enter the Email ID UID of the email you want to copy to the destination folder.
You can get the UID of the email by using Integromat's Watch Email module or Search Email module.

Create a Draft

Creates and adds a new draft to a selected folder.

Connection Establish a connection to your Email account. 
Folder Select the folder in which you want to create the draft email.
To Enter the email address to which you want to send the email.
Subject Enter the subject line of the email.
Content Type

Select the content type for the email:

  • HTML
  • Plain Text
HTML

Enter the email content in HTML format using HTML tags or in the plain text as selected in the Content type field.

Attachments

Add an attachment:

File name

Enter the file name. For example, sample.doc.

Data

Enter the path to the folder to upload the attachment.

Content-ID

Enter the content ID to insert the attachment (image) in the content.

Copy Recipient Enter the email address to whom you want to send a copy of this email.
Blind Copy Recipient Enter the email address to whom you want to send a copy of this email without appearing their email addresses in the email.
From Enter the email address that appears in the From field.
Sender Enter the email address that appears in the Sender field.
Reply-To Enter the details of the email for which you are sending this email as a reply.
In-Reply-To Enter the details of the email for which you are drafting this email in reply to.
References Enter the details of any reference you want to add to the email.
Priority

Select the priority:

  • High
  • Low
  • Normal
Headers

Add the headers:

Key

Add the key.

Value

Enter the value fo the key.

 

Delete an Email

Removes an email or a draft from ta selected folder.

Connection Establish a connection to your Email account. 
Folder Select the folder of the email you want to delete. For example, Inbox, Primary, Work, and so on.
Email ID (UID) Enter the Email UID of the email you want to delete.
You can get the UID of the email by using Integromat's Watch Email module or Search Email module.
Expunge If selected, permanently removes all the messages marked as Deleted in the currently open mailbox. When you use Gmail then the behavior is driven by the setting in Settings > Forwarding POP/IMAP in IMAP access section.

The Unique Email ID in IMAP protocol

The Unique Email ID known as 'Email ID (UID)' is the email's identifier. The Email ID is specific for each of the email's folders.

For getting and deleting the same email from the same folder, you can see below:

Getting an email from the 'Inbox' folder

Deleting the email from the 'Inbox' folder

Get Emails

Returns emails that match the specified criteria.

Connection Establish a connection to your Email account. 
Folder Select the folder whose email details you want to retrieve. For example, Inbox, Primary, Work, and so on.
Mark message(s) as read when fetched Select the option if you want to mark the unread email as read after retrieving the details.
Criteria

Select the emails you want to retrieve:

  • All Emails
  • Only Read Emails
  • Only Unread Emails
Sender email address Enter the email address of the sender whose emails you want to retrieve.
Recipient email address Enter the email address of the recipient whose emails you want to retrieve.
From date Enter the date to retrieve the emails processed on or after the specified date.
Before date Enter the date to retrieve the emails processed on or before the specified date.
Subject Enter the subject of the email you want to retrieve.
Phrase Enter any keywords to retrieve only those containing those phrases.
Email ID (UID) Enter the Email ID (UID) of the email whose details you want to retrieve.
You can get the UID of the email by using Integromat's Watch Email module or Search Email module.
Maximum number of results The maximum number of emails Integromat should return during one scenario execution cycle. 
Continue the execution of the route even if the module returns no results Select if you want to continue to run the module even if there are no results returned.

Mark an Email as Read

Marks an email or a draft in a selected folder as read by setting the Read flag.

Connection Establish a connection to your Email account. 
Folder Select the folder of the email you want to mark as read. For example, Inbox, Primary, Work, and so on.
Email ID (UID)
Enter the Email UID of the email you want to mark as read.
You can get the UID of the email by using Integromat's Watch Email module or Search Email module.

Mark an Email as Unread

Marks an email or a draft in a selected folder as unread by setting the Unread flag.

Connection Establish a connection to your Email account. 
Folder Select the folder of the email you want to mark as unread. For example, Inbox, Primary, Work, and so on.
Email ID Enter the Email UID of the email you want to mark as unread.
You can get the UID of the email by using Integromat's Watch Email module or Search Email module.

Move an Email

Moves a chosen email or a draft to a selected folder.

Connection Establish a connection to your Email account. 
Source Folder Select the folder from which you want to move the email. For example, Inbox, Primary, Work, and so on.
Destination Folder Select the folder to which you want to add the email. For example, Inbox, Primary, Work, and so on.
Email ID (UID) Enter the Email ID UID of the email you want to move to the destination folder.
You can get the UID of the email by using Integromat's Watch Email module or Search Email module.

Send an Email

Sends a new email.

Connection Establish a connection to your Email account. 
Save Message after Sending Select whether you want to save the email in your mail box after sending it.
To Enter the email address to whom you want to send the email.
Subject Enter the subject line of the email.
Content Type

Select the content type for the email:

  • HTML
  • Plain Text
Content Enter the email content in HTML format using HTML tags or in the plain text as selected in the Content Type field.
Attachments

Add an attachment:

File name

Enter the file name. For example, sample.doc.

Data

Enter the path to the folder to upload the attachment.

Content-ID

Enter the content ID to insert the attachment (image) in the content.

Copy Recipient Enter the email address to whom you want to send a copy of this email.
Blind Copy Recipient Enter the email address to whom you want to send a copy of this email without having their email addresses appear in the email.
From Enter the email address (and name, if needed) that appears in the From field in the email. Use the correct syntax: name@email.com or "Name" name@email.com
Sender

Enter the email address that appears in the Sender field in the email.

 

Changing the displayed name of the sender

    1. Open the Send an email action advanced settings using the checkbox 2019-01-10_16_24_54-Integration_Email___Integromat.png

    2. Enter the required sender name or email

Use the correct syntax as shown in the hint on the screenshot below. name@email.com or "Name" name@email.com

 

2019-01-10_16_29_32-Microsoft_Edge.png

Reply-To Enter the details of the email for which you are sending this email as a reply.
In-Reply-To Enter the details of the email for which you are drafting this email in reply to.
References Enter the details of any reference you want to add to the email.
Priority

Select the priority of the email:

  • High
  • Low
  • Normal
Headers

Add the headers:

Key

Add the key. For example, Sender, Date, To, and so on.

Value

Enter the value for the key.

Send me an Email

Sends a new email to your email address.

Subject Establish a connection to your Email account. 
Content Enter the subject and body of the email.

Iterators

Iterate Attachments

Iterates received attachments one by one.

The email iterator module lets you manage email attachments separately. For example, you can set up to watch emails to iterate the emails with attachments and receive alerts.

email-1.png

For more information about iterators, see Iterator.

 

Was this article helpful?
3 out of 18 found this helpful
Menu
  • Features
  • Apps & Services
  • Templates
  • Pricing
  • What's new
  • Use cases
  • Feature requests
Information
  • Privacy
  • Terms
  • FAQ
  • Help & Tutorials
  • Community
  • Academy
  • Find a partner
  • Blog
Cooperation
  • Developer platform
  • Affiliate Program
  • Become a partner
  • Schools and Universities
Company
  • About the company
  • We are hiring
  • Contact
Follow us
© 2021 Integromat by Celonis. All rights reserved. Integromat® is a registered trademark.
  • English