title: Jenkins email-ext not attaching HTML file to body
body: <p>I'm trying to send out an email when my Jenkins build ends. The HTML file gets generated in a previous step and I have verified its location.</p>
  <p>This is the error that's being generated <code>[Error replacing 'FILE' - Error processing tokens]</code></p>
  <pre><code>always  {
  emailext (mimeType: 'text/html',
              body: '${FILE, path=&quot;report_stage.html&quot;}',
              subject: currentBuild.currentResult + &quot; : &quot; + env.JOB_NAME,
              to: &quot;${params['On Failure Email List']}&quot;
              )
  }
  </code></pre>