Get Outlook Mail Messages
Description
Use this Activity to read mail messages from Outlook 365 inside your Microsoft 365 Tenant. To read emails, please provide at least read permissions (Mail.Read) to the App you created for Microsoft 365 Context.
This Activity works only inside Microsoft 365 Context Activity.
The body of this Activity provides the Filter button. The Email Filter Dialog pops up on clicking this button. You can optionally specify the criteria to fetch the mail messages from the specified Outlook 365 using this Email Filter Dialog.
If no filters are specified, the Activity will fetch all the mail messages from the selected Outlook 365.
Properties
Host
- Account – Specify the mail account from which to retrieve the mail messages.
- Mail Folder – Specify the mail folder from which to retrieve the messages.
Misc
- DisplayName – Add a display name to your Activity.
- Private – By default, Activity will log the values of your properties inside your workflow. If private is selected, then it stops logging.
Optional
- Continue On Error – Specifies if the automation should continue even when the Activity throws an error. This field only supports Boolean values (True, False). The default value is False.
Catches no error if this Activity is present inside the Try-Catch block and the value of this property is True.
Options
- Delete Messages – Specify the Boolean value true for deleting the read messages.
Before enabling this option, you must grant read and write permission (Mail.ReadWrite) to the registered App inside Microsoft 365 Tenant.
- Mark Mail As Read – Specifies whether to mark retrieved messages as read.
Before enabling this option, you must grant read and write permission (Mail.ReadWrite) to the registered App inside Microsoft 365 Tenant.