Get Emails#

Get emails through Outlook.

Email[Text] The email address from which to retrieve the list of recent emails.
Folder Name[Text] The name of the folder in Outlook. For example: "Inbox" or "Inbox". If necessary, specify nested folders using the '\' character. For example: "Inbox\TestFolder".
Number of Emails[Number] The number of recent received emails to add to the final list.
Filter[Text] A filter for retrieving emails. The filter format corresponds to the format of the Items.Restrict method (Outlook). Examples can be seen in the expression editor in the "Filters for Outlook" category.
Only UnreadIf enabled, only unread emails will be retrieved.
Mark as ReadIf enabled, all retrieved unread messages will be marked as read.
Result

[List] Returns a list of MailItem objects, each representing an email with data. Indexing starts at zero.

Example of available properties:

  • Body - plain text of the message;
  • HTMLBody - text of the message in HTML format;
  • Sender.Address - email of the sender;
  • Sender.Name - name of the sender (if available);
  • Subject - subject of the email.

For example, to get the sender's email of the first message: $Result[0].Sender.Address

Error Handling Level

Select the error handling level. Possible values:

  • "Default" - default;
  • "Ignore" - errors are ignored;
  • "Handle" - errors are handled.

If "Default" is selected, the value from the "Start" block of this diagram will be used.

Message Level

Select the message level that blocks will output during operation.

Possible values:

  • "Default" - default;
  • "Release" - output is disabled;
  • "Debug" - outputs main information;
  • "Detailed" - outputs detailed information.

If "Default" is selected, the value from the "Start" block of this diagram will be used.

Error Text[Text] Returns detailed information about the error in case of incorrect execution of the block's work.