I have a imapp account set . i was setting it up in my erpnext email module . the mails are coming fine but they are getting sorted with tiem when the are downloaded and not by the time when the mail was actual come . this creates confusion , i cannot find mails that i received yesterday .
Thanks for reporting, just pushed a fix [hotfix] dont update the modified date for already fetched email (communication) by mbauskar · Pull Request #4011 · frappe/frappe · GitHub
but still all my earlier mail which have been downloaded are still showing 4 days ago . i updated it .the sort option has not taken the sate of the first time the mail was sent