Skip to main content

Celonis Product Documentation

Email

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 Make scenario, not in this documentation article) are mandatory!

Connecting Email to Make

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

Connecting Using Gmail Account

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

61d5a39b7dd28.gif

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

61d5a39e13f69.png

3. Confirm the access by clicking Allow.

61d5a39f4a2bd.png

The connection has been established.

Connecting Other Email using IMAP

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

61d5a3a0d0580.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.

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

61d5a3a36066b.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 Make 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 Make'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 Make'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

61d5a3a490870.png

Deleting the email from the 'Inbox' folder

61d5a3a62165d.png
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 Make's Watch Email module or Search Email module.

Maximum number of results

The maximum number of emails Make 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 Make'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 Make'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 Make'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.

1. Open the Send an email action advanced settings using the checkbox 61d5a3a7c234b.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

61d5a3a8daa8a.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.

61d5a3aa4222c.png

For more information about iterators, see Iterator.