Stop using the same login credentials everywhere. The top password managers we've tested create a unique and strong password for each of your online accounts and alert you to potential data leaks. I ...
Set up a Google API with email sending permissions. Include a valid redirect URI (e.g., http://localhost:5000/) and place the credentials.json file in the root directory.