If you are facing the problem where in you have read all your mails but you still get notifications that you have unread emails, then it is natural that you just may have a few unread mails on the junk or spam folder, after you delete them from the junk folder and clear the trash, here is down to reset the unread counter to zero.
Well at times the IMAP has a problem of synchronization, the tools that are needed to solve it is not offered by iOS, the mailboxes can be rebuilt in the OS X and even the sync can be taken offline. In the app, the troubleshooting operations can also be run. However, in order two fix the problem, here are two methods that can be tried.
Method 1.
· You need to go under the Calendar, Contact and Email menus under settings
· Then the Account name which is on the top of the list under the Accounts sub heading as to be selected
· Finally the Mail option has to be disabled, and then after waiting for some time you can go ahead and re‐enable it. If the above mentioned steps do not help solve the problem, then the next method would be the account removal process completely from the iOS. This is a rather annoying method, however it can always be added back on. This method will surely help clear the state of things which are broken. For this you would need to go to
· You need to go under the Calendar, Contact and Email menus under settings
· Then the Account name which is on the top of the list under the Accounts sub heading as to be selected
· Then choose the option to delete the account.
· You will also get a choice whether or not the local copies have to be kept, it would be advisable not to keep them since they are also a reason as to why the problem is happening.
· Once you have deleted the account, then you have to re‐add the credentials by tapping the Add Account option.