I'm using rails and mailer. Whenever user signs up, the user gets an email confirmation. In the gmail account (business) I've set up 2-step authentication and an app password. The email gets sent well in production (tested by me only) with heroku.
BUT every few weeks the app crashes, because the app password in gmail had somehow mysteriously been deleted. I have to create a new one every time.
I've searched around but I don't see instances where this happens with app password... Do you have any thoughts?