Skip to main content

List Mail Folders

Get the mail folder collection directly under the root folder of the signed-in user. The returned collection includes any mail search folders directly under the root. This operation does not return all mail folders in a mailbox, only the child folders of the root folder. To return all mail folders in a mailbox, each child folder must be traversed separately.

External Documentation

To learn more, visit the Microsoft Outlook documentation.

Parameters

ParameterDescription
Include Hidden FoldersIndicates whether the new folder is hidden. Setting the property is optional. Once set, you cannot update this property. The default option is to include the hidden folders.
User IDThe ID or userPrincipalName of the user.

Workflow Library Example

List Mail Folders with Microsoft Outlook and Send Results Via Email

Workflow LibraryPreview this Workflow on desktop