Whenever this happens to me I first hard refresh the page. Soemtimes that works. I'm thinking Google tinkers with the javascript from time to time and a hard refresh grabs the new JS file.
If that doesn't work, I open my email client. Usually the IMAP servers aren't effected.