Skip to main content
outlook_list_folders Lists all mail folders in the user’s mailbox. Returns folder IDs, display names, and item counts. Use the returned id as the folder_id in outlook_list_messages. You can also skip this action and pass well-known folder names directly to mail actions: inbox, drafts, sentitems, deleteditems, junkemail.

Parameters

Returns

An array of folder objects, each with id, displayName, totalItemCount, unreadItemCount, isHidden, and parentFolderId.

Example use

“What mail folders do I have in my mailbox?”