activities
latest
false
UiPath logo, featuring letters U and I in white

Productivity Activities

Last updated Mar 19, 2025

GetMailOptions

Options used to retrieve the email messages.

Namespace: UiPath.Mail.Activities.Api

Assembly: UiPath.Mail.Activities.Api (in UiPath.Mail.Activities.Api.dll)

Inheritance: System.Object > GetMailOptions

Constructors

ConstructorDescriptionSyntax
GetMailOptionsInitializes a new instance of the GetMailOptions class.
 public GetMailOptions()public GetMailOptions()

Properties

PropertyTypeDescription
Topint32The number of messages to be retrieved starting from the top of the list.

GetMailOptions Methods

These are the methods you can use to configure mail options.

WithTop

Set the number of messages to retrieve starting from the top of the list.

Namespace: UiPath.Mail.Activities.Api

Assembly: UiPath.Mail.Activities.Api (in UiPath.Mail.Activities.Api.dll)

WithTop(int)

 public GetMailOptions WithTop(
	int top
)public GetMailOptions WithTop(
	int top
)
top Int32
The number of messages to retrieve.

Return Value

GetMailOptions
Returns an updated instance of GetMailOptions.

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
© 2005-2025 UiPath. All rights reserved.