title: How to create Html email template with angular material component
body: <blockquote>
    <p>How to create <strong>html email body</strong> by using <strong>angular material
    components</strong>.</p>
  </blockquote>
  
  <p>Since the component tags are not rendering. for example simple angular material card as follows. Is there any way to do so?</p>
  
  <p><a href="https://i.stack.imgur.com/e5hcZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/e5hcZ.png" alt="enter image description here"></a></p>
  
  <pre><code>&lt;mat-card&gt;
    &lt;mat-card-header&gt;
          ...
    &lt;/mat-card-header&gt;
    &lt;mat-card-content&gt;
          ...
    &lt;/mat-card-content&gt;     
  &lt;/mat-card&gt;
  </code></pre>