In Fact it did not work!
After changed all messages like the post. When ran a query using the e-mail address it returned values that did not match with my criteria. For instance i want to get all email that do not contains "cesarng@gmail.com" on any To, From and Cc fields. On my PST file there´s nothing related to that e-mail "cesarng@gmail.com" and i have 201 messages. It should returned 201 messages right ?
I have observed your comments. Ideally the suggested query option should work on your end. Can you please share the working sample code along with source PST that we may test on our end to help you further.
You may send that privately to me by clicking on my user name in post and selecting Message option. Please notify me here in this thread too once you have shared private message. image.png (15.6 KB)