I have exactly the same issue as this post : Send multipe emails using nodemailer and gmail
When sending too many emails with nodemailer and gmail, I get a 421 error
You should add the pool parameter to your nodemailer transporter config object:
export const transporter = nodemailer.createTransport({ service: 'gmail', auth: {}, pool: true });
For additional configuration options, you can check here