Email

Version Latest

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:

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 Otherand 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.

ConnectionEstablish a connection to your Email account.
FolderSelect 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 AddressEnter the email address of the sender whose emails you want to watch.
Recipient Email AddressEnter the email address of the recipient whose emails you want to watch.
SubjectEnter the subject of the email you want to watch.
PhraseEnter any keywords to watch only those emails containing specific phrases.
Mark message(s) as read when fetchedSelect the option if you want to mark the unread email as read after retrieving the details.
Maximum number of resultsThe 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.

ConnectionEstablish a connection to your Email account.
Source FolderSelect 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.

ConnectionEstablish a connection to your Email account
FolderSelect the folder in which you want to create the draft email.
ToEnter the email address to which you want to send the email.
SubjectEnter 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 RecipientEnter the email address to whom you want to send a copy of this email.
Blind Copy RecipientEnter the email address to whom you want to send a copy of this email without appearing their email addresses in the email.
FromEnter the email address that appears in the From field.
SenderEnter the email address that appears in the Sender field.
Reply-ToEnter the details of the email for which you are sending this email as a reply.
In-Reply-ToEnter the details of the email for which you are drafting this email in reply to.
ReferencesEnter 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.

ConnectionEstablish a connection to your Email account
FolderSelect 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.
ExpungeIf 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.

ConnectionEstablish a connection to your Email account
FolderSelect the folder whose email details you want to retrieve. For example, Inbox, Primary, Work, and so on.
Mark message(s) as read when fetchedSelect 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 addressEnter the email address of the sender whose emails you want to retrieve.
Recipient email addressEnter the email address of the recipient whose emails you want to retrieve.
From dateEnter the date to retrieve the emails processed on or after the specified date.
Before dateEnter the date to retrieve the emails processed on or before the specified date.
SubjectEnter the subject of the email you want to retrieve.
PhraseEnter 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 resultsThe maximum number of emails Integromat should return during one scenario execution cycle. 
Continue the execution of the route even if the module returns no resultsSelect 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.

ConnectionEstablish a connection to your Email account
FolderSelect 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.

ConnectionEstablish a connection to your Email account
FolderSelect the folder of the email you want to mark as unread. For example, Inbox, Primary, Work, and so on.
Email IDEnter 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.

ConnectionEstablish a connection to your Email account
Source FolderSelect the folder from which you want to move the email. For example, Inbox, Primary, Work, and so on.
Destination FolderSelect 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.

ConnectionEstablish a connection to your Email account
Save Message after SendingSelect whether you want to save the email in your mail box after sending it.
ToEnter the email address to whom you want to send the email.
SubjectEnter the subject line of the email.
Content Type

Select the content type for the email:

  • HTML
  • Plain Text
ContentEnter 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 RecipientEnter the email address to whom you want to send a copy of this email.
Blind Copy RecipientEnter the email address to whom you want to send a copy of this email without having their email addresses appear in the email.
FromEnter 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-ToEnter the details of the email for which you are sending this email as a reply.
In-Reply-ToEnter the details of the email for which you are drafting this email in reply to.
ReferencesEnter 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.

SubjectEstablish a connection to your Email account
ContentEnter 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.

 

Popular use cases from our blog

automated-data-collection-crm-illustration

How to Automate Data Collection - Part 5: CRM Systems

automated-data-collection-chatbot-marketing-illustration

How to Automate Data Collection - Part 4: Chatbot Marketing

automated-data-collection-paid-ads-illustration

How to Automate Data Collection - Part 3: Paid Ads

automated-data-collection-email-illustration

How to Automate Data Collection - Part 2: Email Marketing Segmentation

personalized-customer-experience-illustration-integromat

5 Automated Solutions to Personalize Customer Experience

data-collection-automation-forms-pt-1

How to Automate Data Collection - Part 1: Online Forms

Didn’t find what you were looking for?

Expert

Find an expert

We feature a network of 450+ certified partners across the globe who are ready to help

Find an expert

Automate any workflow in your business

Sign up for a free account today. No credit card required, no time limits on free plan.