Short answer: Drop the "Microsoft Outlook → List Outlook Mail Folders" action anywhere in your workflow, map the inputs from upstream nodes, and publish.
{}
{"value": [{"id": "inbox-id","displayName": "Inbox","totalItemCount": 42,"unreadItemCount": 5}]}
Use these fields in downstream nodes for routing, logging, or error handling.
Any of these apps can fire this action as part of a workflow.
Triggered by anything in the catalog. Free tier available. No credit card.