UiPath Activities

The UiPath Activities Guide

Get IMAP Mail Messages


Retrieves an IMAP email message from a specified server.



  • Email - The email account used to get the message.
  • Password - The password of the email account used to get the message.


  • Server - The email server host that is to be used.
  • Port - The port used to get the email message.
  • MailFolder - The mail folder from which the messages are to be retrieved.


  • DeleteMessages - Specifies if the read messages should be marked for delete.
  • OnlyUnreadMessages - Specifies whether to retrieve only unread messages. By default, this check box is selected.
  • MarkAsRead - Specifies whether to mark retrieved messages as read. By default, this check box is cleared.
  • SecureConnection - Specifies the SSL and/or TLS encryption to be used for the connection.
  • Top - The number of messages to be retrieved starting from the top of the list.


  • DisplayName - The display name of the activity.
  • TimeoutMS - Specifies the amount of time (in milliseconds) to wait for the activity to run before an error is thrown. The default value is 30000 milliseconds (30 seconds).


  • Messages - The retrieved messages as a collection of MailMessage objects.


  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.

Updated 10 months ago

Get IMAP Mail Messages

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.