How can client sync for the emails which are received after a particular email.
As client can not rely on message number (since message number is not meant for uniquely identifier of a message).
I am facing the following problem:
Lets say my mailbox consists of 100 emails and application has synced all 100 emails .
Now I have deleted 10 emails and received 10 more emails in that deleted emails place (Also I have marked these emails are read).
For retrieving the messages which are arrived after 100th email (last processed message number) sending the request by the following way.
"Listmessages" method with parameter startMid=100 and numMid=50. It will not return any results because total number of messages in the Inbox is same as the starting message number.
How can I solve this problem.
PS: WIll offsetMid and loc query parameters will help in this case (If it helps please help me how I could use these query problems in order to solve my issue).