title: Embed image in email body nodemailer nodejs
body: <p>I am following the approach used in the nodemailer community <a href="https://community.nodemailer.com/using-embedded-images/" rel="noreferrer">site</a>
  but I cannot seem to get it to work as I am getting the error</p>
  
  <pre><code>   Failed to send email { Error: ENOENT: no such file or directory, open 
  './rello-logo-full-svg.svg'
   errno: -2,
    code: 'ESTREAM',
    syscall: 'open',
    path: './rello-logo-full-svg.svg',
    command: 'API' }
  </code></pre>
  
  <p>The nodemailer options are as follows</p>
  
  <pre><code>    let mailOptions = {
          from: '&lt;from_email&gt;', 
          to: to_email_address.toString(),
          subject: 'Subject',
          text: 'Hello world', // plain text body
          attachments: [{
            filename: 'rello-logo-full-svg.svg',
            path: './rello-logo-full-svg.svg',
            cid: 'unique@cid'
        }],
          html: emailBody
      };
  </code></pre>
  
  <p>And in the <strong>emailBody</strong> variable I have a template string with an image tag line like so</p>
  
  <pre><code>&lt;img style="width:250px;" cid:unique@cid&gt;
  </code></pre>
  
  <p>Do I maybe need to set the static assets for express or what, the image file is in the same folder as the file that has the above code, any help is appreciated</p>