Fix Gmail IMAP Invalid Credentials -tip on how to fix
Fix Gmail IMAP Invalid Credentials or Web Login Requires (Failure) Error
Your IMAP server wishes to alert you to the following: Invalid credentials (Failure)
If you’re very sure that you’re using a correct password and username (with @gmail.com after the user name), and not checking email in Gmail’s Inbox too frequently, you may need to clear and unlock the CAPTCHA. To unlock CAPTCHA for Gmail account, go to the following URL:
https://www.google.com/accounts/DisplayUnlockCaptcha
Read more at www.mydigitallife.info
I had this problem after changing my password on Google, and this was the only place I found which described how to fix it (of course, I didn’t keep looking after I found it, so that actually isn’t saying much!)
Anyway, it is a useful thing to know.

