How do you create raw queries?
In outlook for MacOS you have to jump through a few hoops.
- Click on the Search Bar: this will then open the search ribbon to allow you to select other options. For some reason, unless you click on the search field they hide this ribbon to make it extremely inconvenient for you to do anything.
- Click ‘Advanced’ on the search ribbon.
- Select ‘Raw Query’
- Enter your Raw Query and save the search. It will then appear in your smart folders.
What is the syntax and parameters of a raw query?
This information is not as easy to find and doesn’t appear to be officially documented anywhere. On a Mac you can run this from the command line and in the main outlook profile data directory
The results will show you the metadata available for searching in that particular message.