To get the refresh token, which we will use within the transporter object in Nodemailer, we have to go to the OAuth2 Playground. We approved this URI for this specific intent at an before stage.
In the following https://mariammmll992301.blogsumer.com/29812592/5-easy-facts-about-node-mailer-described