Fixed entering back into polling loop after refreshing the token so it works with the new onlyNewEmails code