I installed Outlook 2010 on a new Win 10 machine. It is also on my Win 7 machine. I'm transitioning from Win 7 to Win 10.

I can't connect to gmail. It is the only email account I use. I am using IMAP. I'm certain that my password and email address are correct. I went to manually configure. After I set everything up it fails trying to do a test message. Here are the messages I'm getting.

`Log onto incoming mail server (IMAP): The connection to the server was interrupted. If this problem continues, contact your server administrator or Internet service provider.` 

`Send test e-mail message: Your e-mail server rejected your login. Verify your user name and password for this account in Account Settings.`

Before I got these messages I kept getting that annoying password prompt popup.

What can I do to fix this problem?