Configuration of Gmail
As of May 30, 2022, Google no longer supports the use of third-party apps or devices which ask you to sign in to your Google Account using only your username and password. Here is the note on Google Policy on less secure apps.
Step 1:
Login to the Dashboard of Google Accounts: https://myaccount.google.com