title: Error: read ECONNRESET at TLSWrap.onStreamRead
body: <p>I am trying to send an email in my nodejs app using @sendgrid/email library but when I try to send an email I am getting the following error:</p>
  
  <blockquote>
    <p>{ Error: read ECONNRESET
        at <code>TLSWrap.onStreamRead</code> (internal/stream_base_commons.js:111:27) errno: 'ECONNRESET', code: 'ECONNRESET', syscall: 'read' }</p>
  </blockquote>
  
  <hr>
  
  <p>I tried the following code please have a look.</p>
  
  <pre><code>const sgMail = require('@sendgrid/mail');
  sgMail.setApiKey('***************************'); // API KEY
  sgMail.send({
    to: email,
    from: 's*****@gmail.com',
    subject: 'signup succeeded!',
    html: '&lt;h1&gt;You Successfully Signed Up!&lt;/h1&gt;'
  })
  </code></pre>
  
  <p>How do I fix this issue?</p>