You may be getting the error because Outlook is exceed Google Mail IMAP bandwidths. Please refer to this link for more information, GMAIL restrictions.