I am trying to send emails from Django using an email configured by Google Apps, my configuration at the settings.py file looks something like this:
settings.py
<
In my case, when i tried to login to the google account via web, it asked me for a captcha. I entered the captcha and then the automation worked.