Of course, then you have a bunch of archived, unread emails.
This simple Gmail script will fix that.
To create the script, follow these instructions:
Head toscript.google.comand create a new Blank Project.
Delete the code thats there and replace it with the code inthis blog post.
Save the project with File > Save.
Mark an archived email as unread in your Gmail account.
Then, poke the Run button in the Google Script window to test it.
If your email gets marked as read, it works!
Head to Resource > Current Projects Triggers and set how often you want the script to run.
Save the script again and exit.
It will continue running in the background from here on out.
Marking Gmail read with Apps Script| Mike Crittenden