title: Sending email fails when two factor authentication is on for Gmail
body: <p>I am using my Gmail account and <code>smtp.gmail.com</code> inside my web application to test and send email. when two factor authentication is ON for my Gmail account, it fails to send the email, however when I turn it off, the web application sends email successfully. Appreciate any kind of advice. </p>