title: Nodemailer google workspace works in Dev but in production the emails go to spam
body: <p>I have a project that sends emails back to people which I deployed on heroku. The problem is that it works fine in dev but when it has been deployed emails go directly to the spam. What causes this? Do you need more information from my code to help me?</p>
  <pre><code> const oAuth2Client = new OAuth2(
      MAILING_SERVICE_CLIENT_ID,
      MAILING_SERVICE_CLIENT_SECRET,
      OAUTH_PLAYGROUND
    );
    oAuth2Client.setCredentials({
      refresh_token: MAILING_SERVICE_REFRESH_TOKEN,
    });
    try{
  
      const  accessToken = await oAuth2Client.getAccessToken();
      
      const transporter = nodemailer.createTransport({
        service: &quot;gmail&quot;,
        auth: {
          type: &quot;OAuth2&quot;,
          user: SENDER_EMAIL_ADDRESS,
          clientId: MAILING_SERVICE_CLIENT_ID,
          clientSecret: MAILING_SERVICE_CLIENT_SECRET,
          refreshToken: MAILING_SERVICE_REFRESH_TOKEN,
          accessToken,
        },
      });
      await transporter.verify();
      await transporter.sendMail({ from, to, subject, html });
       
  
  ///
  
  
  await sendEmail({
      to: SENDER_EMAIL_ADDRESS,
      subject: subject,
      html: content
  });
  await sendEmail({
      to: email,
      subject: subject,
      html: `Dear ${firstName},
      &lt;p&gt; Thank you for getting in touch
  
      &lt;/p&gt;
      &lt;p&gt;Best Regards,&lt;/p&gt;
      `
  </code></pre>