google mail is requiring oauth for imap logins. its been a rolling requirements, your account probably now requires it.
you may need to remove your current account and re-add it to get the oauth2 support.
note: as long as you left files on the server (imap), they should reappear when you add the account. if you downloaded emails to client, you need to save them first before removal.