{% if current %}
{{ current.meta.get('subject') or '(без темы)' }}
От: {{ current.meta.get('from') or '?' }} {% for r in current.meta.get('to', '').split(';') %} Кому: {{ r.strip() }} {% endfor %} Дата: {{ current.meta.get('date') or '?' }}
{% if current.attachments %}
{% for a in current.attachments %} 📄 {{ a.name }} ({{ a.size_hr }}) {% endfor %}
{% endif %}
{% for k in current.meta %}
{{ k }}: {{ current.meta[k] }}
{% endfor %}
Файл: /opt/hermes/email/{{ current.path }}
{% if current.attachments %}
Вложений: {{ current.attachments|length }}
{% endif %}
{% if tags %}{% include "partials/email_entities.html" %}{% endif %}
{{ current.body }}
{% else %}
Выберите письмо
{% endif %}