title: How to format Body of Jenkins emal which is taken from text file
body: <p>I have created a jenkins job in which it will send the mail notification and I tried to embed the content of text file to body of email.</p>
  
  <pre><code>&lt;b&gt;&lt;font color="black"&gt;BUILD :&lt;/font&gt; &lt;font color="green"&gt;$PROJECT_NAME - $BUILD_STATUS &lt;/font&gt; &lt;/b&gt; &lt;BR&gt;
  &lt;BR&gt;
  &lt;BR&gt;
  
  &lt;div style="padding-left: 30px; padding-bottom: 15px;"&gt;
  ${FILE,path="gitlog.txt"}
  &lt;/div&gt;
  
  &lt;BR&gt;
  &lt;BR&gt;
  &lt;BR&gt;
  
  -BAT DevOps Team &lt;BR&gt;
  &lt;BR&gt;_____________________________________________________________________&lt;BR&gt;
  
  &lt;font color="#808080"&gt;Note: This is a System Generated Mail. We request you not to reply to this message.&lt;/font&gt;&lt;BR&gt;
  &lt;BR&gt;
  &lt;BR&gt;
  </code></pre>
  
  <p>The Output of Jenkins mail is :<a href="https://i.stack.imgur.com/cf649.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cf649.jpg" alt="Jenkins Mail Output"></a></p>
  
  <p>output of the mail is not in readable format. How to format?</p>
  
  <p>How to use Groovy script to achieve this?</p>