If you're getting this error you must enable IMAP on your Google mailbox. Here's a quick video on how to do this.

Did this answer your question?