Hi
Gmail users can access their account on the official website or by using first-party or third-party apps and services instead. A first party app is for instance Google's official Gmail app for Android, while Thunderbird and the mail client app of Windows 8 are third-party apps.
Google
announced back in April 2014 that it would improve the sign-in security of its services and affect any application sending usernames and passwords to the company.
The company suggested to switch to OAuth 2.0 back then but did not enforce it up until now.
If you open the new
less secure apps page under security settings on Google, you will notice that Google has disabled access by default.
Note: You see the page only if you are not using Google Apps or have enabled two-factor authentication for the account.
You can flip the switch here to enable less secure applications again so that access is regained.
Source