@Rudy-Trujillo you must enable the less secure apps feature directly on your Google account, you cannot work around it just with the Python code.