title: Sendgrid send mail in nodejs 403 response forbidden error
body: <p>i am using sendgrid mail for sending email below is my code</p>
  <pre><code>let mailOptions = {
      from: '&quot;ZERTZ.&quot; &lt;support@zertz.io&gt;',
      to: toAddress,
      subject: &quot;Please confirm your Email account&quot;,
      html: html,
    };
  </code></pre>
  <p>this is to send mail</p>
  <pre><code>sgMail
    .send(mailOptions)
    .then(() =&gt; {
      console.log('Email sent')
    })
    .catch((error) =&gt; {
      console.error(error)
    })
  </code></pre>
  <p>here is the error</p>
  <pre><code>ResponseError: Forbidden
      at D:\OFFICE\Zertz\Web Application\Web app\Zertz-webapp\node_modules\@sendgrid\client\src\classes\client.js:146:29 
      at processTicksAndRejections (node:internal/process/task_queues:96:5) {
    code: 403,
    response: {
      headers: {
        server: 'nginx',
        date: 'Tue, 18 Jan 2022 10:15:23 GMT',
        'content-type': 'application/json',
        'content-length': '281',
        connection: 'close',
        'access-control-allow-origin': 'https://sendgrid.api-docs.io',
        'access-control-allow-methods': 'POST',
        'access-control-allow-headers': 'Authorization, Content-Type, On-behalf-of, x-sg-elas-acl',
        'access-control-max-age': '600',
        'x-no-cors-reason': 'https://sendgrid.com/docs/Classroom/Basics/API/cors.html',
        'strict-transport-security': 'max-age=600; includeSubDomains'
      },
      body: { errors: [Array] }
    }
  </code></pre>