{# The AI summary of unread emails, in the email details under the numbers. #}
{{ error }}
{% endif %} {% if summary %} {% if new %}{{ new }} new since {{ summary.at | ago }}. Update to include {{ "it" if new == 1 else "them" }}.
{% endif %}{{ summary.overview }}
{% for priority, heading in [("high", "Needs you"), ("medium", "Worth a look")] %} {% set items = summary["items"] | selectattr("priority", "equalto", priority) | list %} {% if items %}{{ later }} can wait: newsletters, notifications and the like.
{% endif %} {% elif count and not error %}What needs you and what can wait, from the senders, subjects and the start of each email.
{% endif %}