I have one problem. I downloaded the mails using limilab library. So we have a desktop search, where user can search for any mail.
So lets say he deleted some mails from gmail account in browser, and search in our desktop search, it is showing the deleted mails. So is there a way to check if particular messageid or threadid is exists in the server then only we can show the results. If that is possible then won't it slow down the search process.
Consider a situation where there are 1000 of results came, So shall I check if those mails are exists for all 1000 mails?
If you have any solution please let me know.