Google has announced that it’s disabling the Less Secure Apps feature on some Google accounts from May 30th, 2022:
To help keep your account secure, starting May 30, 2022, Google will no longer support the use of third-party apps or devices which ask you to sign in to your Google Account using only your username and password.