User Tools

Site Tools


transformations:fetchemail

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

transformations:fetchemail [2018/08/16 19:28] – created dmitrytransformations:fetchemail [2021/06/20 21:43] (current) craigt
Line 1: Line 1:
-===== Fetch email =====+{{ transformations:FetchEmailAction.png}} 
 +====== FETCH EMAIL ====== 
 +Category: Workflow / External\\
  
-This action retrieves emails from a mail server (IMAP or MS Exchange) and creates a table in which each line corresponds to one email message, and the columns contain various message attributes, such as sender, sent date, subject, message body, etc.+\\  
 +=====Description===== 
 +This action retrieves emails from a mail server (IMAP or MS Exchange) and creates a table in which each line corresponds to one email message, and the columns contain various message attributes, such as sender,\\ sent date, subject, message body, etc.
  
-Message bodies are limited to the first 1000 characters only.+\\  
 +=====Use cases===== 
 +Workflows using //Fetch email// can be constructed to retrieve preconfigured emails with attachments, process the attached file(s), and return the processed file(s) to the sender using the [[transformations:sendemail|Send email]] action.
  
-**Attachments**+\\  
 +=====Action settings===== 
 +^ Setting  ^ Description 
 +|Connector<sup>*</sup>|Select or create a connector to the email server and account to retrieve email from.| 
 +|Fetch from|Select whether emails will be retrieved from the account's Inbox or another, specified folder.  Options:  //Inbox// or //Other folder//<sup>*</sup> (and enter the folder name)| 
 +|Pre-filter|If specific emails are to be retrieved, select the pre-filter options to use.  See the "Pre-filter options" table below for details.| 
 +|Attachments|Select whether attached files will be retrieved as well.  See the "Attachments options" table below for details.| 
 +|Options|Select what occurs after an email is fetched.  Options:  //Do nothing//, //Mark as read//, or //Delete message// (cannot be undone).| 
 +<sup>*</sup> Setting can be specified using a [[:parameters|parameter]].\\
  
-Optionally, the action can also retrieve attachments of the email messagesIn this casea new column named "Path to attachments" will be added with paths to saved attachments from each messageAlsoeach line in the result table will correspond to each saved attachmentTherefore there can be several lines for one message if the message contained several attachments.+\\  
 +====Pre-filter options==== 
 +^Option ^Description ^ 
 +|Pre-filter by sender|Check this to fetch email from specific sendersand enter the text to be found within the sender's name\\ or email address in the //Sender contains//<sup>*</sup> field.
 +|Pre-filter by subject|Check this to fetch email with specific text in the subject lineand enter the text to be found in the\\ //Subject contains//<sup>*</sup> field.| 
 +|Fetch only unread messages|Check this to fetch only messages that have not yet been read.
 +|Messages to fetch|Select whether to retrieve the //Last N messages//<sup>*</sup> (and enter the number of messages)or messages\\ received in the  //Last N hours//<sup>*</sup> (and enter the number of hours).
 +<sup>*</sup> Setting can be specified using a [[:parameters|parameter]].\\
  
-All attachments can be saved into one folder. In an alternative mode, for each message a temporary folder is created and all attachments of the message are saved into this temporary folder.+\\  
 +====Attachments options==== 
 +^Option ^Description ^ 
 +|Fetch attachments|Check this to retrieve files attached to emails.| 
 +|Folder path<sup>*</sup>|Enter or browse to the folder to save the attached files to.
 +|Save|Select whether attachments to each message will be stored in a temporary subfolder under the folder\\ selected above, or all attachments will be saved together in the folder selected above.\\  Options:  //For each message create a new temporary subfolder with attachments// or //Save all\\ attachments from all messages into one folder//.| 
 +|Enable images in attachments|Check this to allow image attachments to be retrieved.| 
 +<sup>*</sup> Setting can be specified using a [[:parameters|parameter]].\\
  
-After processing attachments, the folder that contains them can be cleaned by using the "Clean folder" command of the [[transformations:filecommand|"File command"]] action.+\\  
 +=====Remarks=====
  
-**Pre-filtering**+Message bodies are limited to the first 1000 characters only. 
 +\\ \\  
 +====Attachments====
  
-Messages can be pre-filtered in order to limit the number of fetched messagesPrefiltering can be done by:+Optionally, the action can also retrieve attachments of the email messages. In this case, a new column named "Path to attachments" will be added with paths to saved attachments from each message. Also, each line in the result table will correspond to each saved attachmentTherefore there can be several lines for one message if the message contained several attachments.
  
-  * Sender +All attachments can be saved into one folder. In an alternative mode, for each message, a temporary folder is created and all attachments of the message are saved into this temporary folder.
-  * Subject +
-  * Unread status+
  
-**Compatibility**+After processing attachments, the folder that contains them can be cleaned by using the "Clean folder" command of the [[transformations:filecommand|"File command"]] action. 
 +\\ \\  
 +====Compatibility====
  
 Any email server that supports standard IMAP (without extensions) is supported. Any email server that supports standard IMAP (without extensions) is supported.
  
 Supported MS Exchange versions are 2010 and up. Supported MS Exchange versions are 2010 and up.
 +
 +
 +\\ 
 +=====See also=====
 +
 +  * [[transformations:sendemail|Send email]]
transformations/fetchemail.txt · Last modified: 2021/06/20 21:43 by craigt

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki