title: Oozie email action escape tags
body: <p>we have a following oozie email action </p>
  
  <pre><code>&lt;email xmlns="uri:oozie:email-action:0.1"&gt;
      &lt;to&gt;some-email&lt;/to&gt;
      &lt;subject&gt;some subject Failure&lt;/subject&gt;
      &lt;body&gt;
          Error (Code) Message:(${wf:errorCode(wf:lastErrorNode())}) ${wf:errorMessage(wf:lastErrorNode())}
      &lt;/body&gt;
  &lt;/email&gt;
  </code></pre>
  
  <p>The contents of error message have some text like <code>&lt;init&gt;</code> . This is causing the oozie email action to fail with following error, </p>
  
  <pre><code>JDOMParseException: Error on line 36: The element type \"init\" must be terminated by the matching end-tag \"&lt;/init&gt;\".
  </code></pre>
  
  <p>I couldn't able to find a way to escape those characters. any suggestion would be helpful.</p>