I'm trying to get all conversations in a folder. I'm using the query
It works for most of the folders but fails when it encounters a subfolder. For example, if I have a subfolder Test under Inbox (Inbox/Test)
works but
fails. I'm thinking the best way would be to use folder ids instead of folder names (right?).
Can someone help me with the query to get all entries in a folder using folder id not folder name?
Any help would be appreciated.
Thanks in advance.
-t