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

Productivity activities

Last updated Feb 19, 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?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo
Trust and Security
© 2005-2026 UiPath. All rights reserved.