<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:py="http://genshi.edgewall.org/"
      xmlns:xi="http://www.w3.org/2001/XInclude">
<xi:include href="macros.html" />
<br/>
<div>
  <ul>
    <li py:if="len(mail.tos) > 0">To:
      <py:for each="to in mail.tos">
        <a class="mail-link" href="mailto:${to[1]}" title="${to[0]} &lt;${to[1]}&gt;"><span class="icon"/>${get_author(to[0], to[1])}</a>&nbsp;
      </py:for>
    </li>
    <li py:if="len(mail.ccs) > 0">Cc:
      <py:for each="cc in mail.ccs">
        <a class="mail-link" href="mailto:${cc[1]}" title="${cc[0]} &lt;${cc[1]}&gt;"><span class="icon"/>${get_author(cc[0], cc[1])}</a>&nbsp;
      </py:for>
    </li>
  </ul>
</div>
<div>
${list_of_attachments(attachment.get_attachments(req), True)}
</div>
<div class="mail_body">
${mail.get_html_body(req)}
</div>
<br/>
</html>
