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

Productivity activities

Last updated Mar 13, 2026

GetMailFolders

Retrieves the mail folders from the specified account.

Namespace: UiPath.MicrosoftOffice365.Activities.Api

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

Syntax

IReadOnlyCollection<IMailFolder> GetMailFolders(
	string account = null
)
IReadOnlyCollection<IMailFolder> GetMailFolders(
	string account = null
)

Parameters

account String (Optional) : If specified uses the given shared mailbox, otherwise it uses the current account. Optional, default value is null.

Return value

IReadOnlyCollection<IMailFolder> - A list of mail folders.

  • Syntax
  • Parameters
  • Return value

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated