I'm using a python library to log into Gmail. Pretty simple to get started with. I'm trying to log into my account via this code.
import gmail
g = gmail.login(username, password)
and I receive this error
gmail.exceptions.AuthenticationError
Because google blocked the sign in attempt.
My question is that, is there a way to better authenticate to gmail so Google doesnt block my requests to sign in? I rather not go through the process of generating an OAuth code only because I have multiple gmail accounts I want to log into and retrieve emails from.
Thanks!