title: HTML file as a variable in Node.js
body: <p>I need to send something as a html via email (I'm using Sendgrid) with simple Node.js server. I'm just sending some text with variables in them and line breaks.</p>
  
  <pre><code>var postData = 'lat: ' + formatted.latitude + '&lt;br&gt;lng: ' + formatted.longitude + '&lt;br&gt;time: ' + formattedDate;
  sendEmail(postData);
  </code></pre>
  
  <p>Then I'm sending the email with Sendgrid as a HTML. </p>
  
  <pre><code>var content = new helper.Content('text/html', messageContent);
  </code></pre>
  
  <p>No need to paste remaining blocks of code.</p>
  
  <p>What I need is more complex .html file with css and javascript in it. Moreover I need to change some values in it. What is the easiest way to assign this file to variable and send it like this?</p>