to obtain the refresh token, which We'll use inside the transporter item in Nodemailer, we must go to the OAuth2 Playground. We accepted this URI for this specific purpose at an previously stage.
to check your code, https://graysonfjkm946460.shoutmyblog.com/29750833/how-much-you-need-to-expect-you-ll-pay-for-a-good-axios-in-node-js