I have a rails app deployed in a free heroku plan and I'm using my Google account to send emails and I can only do this if the captcha is unlocked, so I go to my account settings and allow access. But after a while, I have to do it again, otherwise I get the message:
Net::SMTPAuthenticationError
It took me years to figure out that this was the problem, but now I don't know how to solve it