{% from "components/ui.html" import pager %} {# A page of messages. ``emails``: the account column, for lists across accounts, None for one account's list. ``selectable``: a tick box per message for the form ``batch``. ``open_as``: "mail", or "drafts" for links that open the draft editor. #} {% if messages %}
| Select | {% endif %} {% if emails is not none %}Account | {% endif %}From | Subject | Date | |
|---|---|---|---|---|---|
| {% endif %} {% if emails is not none %} | {{ emails.get(m.account_id, m.account_id) }} | {% endif %}{{ m.sender | address }} | {{ m.subject | or_missing }} {{ m.snippet | or_missing }} | {{ m.date | when }} | {% if m.starred %}★{% endif %} {% if m.has_attachments %}📎{% endif %} {% if "$answered" in m.keywords %}↩{% endif %} {% for keyword in m.keywords | own_keywords %}{{ keyword }}{% endfor %} |