So I am trying to use just JavaScript to generate a Qr code via email and send it to the user after filling their credentials and press the send button. I am using the Smtp.