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

Productivity activities

Last updated Mar 13, 2026

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()

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.

  • Constructors
  • Properties
  • GetMailOptions Methods
  • WithTop

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated