When i trying to get messages from email via imap - i have this error:
Can not authenticate to IMAP server: [AUTHENTICATIONFAILED] Invalid credentials (Fa
If you are using G Suite, you have to contact your G Suite administrator to enable not secure access for users apps in Google Admin panel, URL like https://admin.google.com/{YOUR_DOMAIN_NAME}/AdminHome?hl=en#ServiceSettings/notab=1&service=securitysetting&subtab=lesssecureappsaccess
or go this way (for G Suite admin)