How To Retrieve All "Red/Green/Other Category" Emails From A Folder Using O365 Get Mail Activity

How to retrieve all "Red category" emails in a folder using O365 Get Mail? How to retrieve all "Green category" emails in a folder using O365 Get Mail? How extract color based category emails using Get Mail?

Resolution steps: Use Get Mail activity with the following value for the Query parameter:

  • For Red category: "categories/any(a:a+eq+'Red+category')"
  • For Green category: "categories/any(a:a+eq+'Green+category')"

and so on.