In this article
You can use this Snap to move email messages from one folder to another folder.
Only IMAP accounts are supported.
Only IMAP accounts are supported.
Email Archive Snap is a WRITE-type Snap that passes the data to the downstream Snap.
This Snap requires a valid IMAP account to handle access to this endpoint.
Works in Ultra Pipelines.
None.
Type | Format | Number of Views | Examples of Upstream and Downstream Snaps | Description |
---|---|---|---|---|
Input | Document |
| Any Document Snap | This Snap can have at the most one document input view. If you do not specify an input view, the Snap generates a downstream flow of one row. |
Output | Document |
| Any Document Snap | This Snap has exactly one document output view. |
Error | Error handling is a generic way to handle errors without losing data or failing the Snap execution. You can handle the errors that the Snap might encounter while running the Pipeline by choosing one of the following options from the When errors occur list under the Views tab. The available options are:
Learn more about Error handling in Pipelines. |
|
Field Name | Field Type | Description | |
---|---|---|---|
Label* Default Value: Email Archive | String | Specify the name for the Snap. You can modify this to be more specific, especially if you have more than one of the same Snap in your Pipeline. | |
Source folder* Default Value: None | String/Expression | Specify the name of email folder from which the messages are to be moved. The values displayed in this field are based on the folders available in the email client.
| |
Target folder* Default Value: None | String/Expression | Specify the name of email folder to which messages are to be moved. The values displayed in this field are based on the folders available in the email client.
| |
Unread only Default Value: Deselected | Checkbox | Select this checkbox to move only the unread email messages. Deselecting this checkbox moves all the messages. | |
Number of messages Default Value: All | Integer | Specify the maximum number of messages to be moved. Any non-integer or negative value moves all messages. | |
From Default Value: None | String | Specify the name of the sender, based on which the messages are to be moved. This field filters the messages based on the sender name. | |
Subject Default Value: None | String | Specify the subject of the email, based on which the messages are to be moved. This field filters the messages based on the specified subject. | |
Snap Execution Default Value: | Dropdown list | Select one of the three modes in which the Snap executes. Available options are:
|
This example pipeline demonstrates how to archive an email residing in the SMTP server using the SMTP account.
Step 1: Configure the Email Sender Snap to send an email to the SMTP server. On validation, the Snap displays the output with the details of the email.
Step 2: Configure the Email Archive Snap as follows to archive the email with the Subject test email archive. On validation, the Snap displays the output of a confirmation message indicating that the email with the Subject test email archive is successfully archived.
|
|