{{ parsed.filename if parsed else 'Email analysis' }}

{% if verdict %}Triage complete{% elif action == 'triage' %}Triage incomplete{% else %}Parse complete{% endif %}

Analyze another email
{% if sample %}

Saved sample · {{ sample.title }} This preview uses curated message details{% if verdict %} and the recorded {{ sample.model }} assessment{% endif %}.

{% endif %} {% if verdict %}

Verdict

{{ verdict_label }}

{{ verdict_summary[0] }}

{% if verdict_summary[1:] %}

{{ 'Why it needs review' if verdict.final_verdict == 'needs_review' else 'Verdict reasons' }}

{% endif %}
{% include '_model_answers.html' %} {% elif parsed %}

Subject

{{ parsed.headers.get('Subject') or 'No subject' }}

From {{ parsed.headers.get('From') or 'Missing' }}

Extracted from the email

{% set link_count = parsed.urls | length %} {% set attachment_count = parsed.attachments | length %}

{{ link_count }} {{ 'link' if link_count == 1 else 'links' }} and {{ attachment_count }} {{ 'attachment' if attachment_count == 1 else 'attachments' }}

{% endif %} {% if parsed %} {% include '_evidence.html' %}

Message details

Message body

{{ parsed.body or 'No message body recovered.' }}

Headers

{% if parsed.headers_all %}
{% for header in parsed.headers_all %}
{{ header.name }}
{{ header.value }}
{% endfor %}
{% else %}

No headers recovered.

{% endif %}

Raw JSON

Parsed email JSON
{{ parsed.model_dump_json(indent=2) }}
{% if verdict %}
Assessment JSON
{{ verdict.model_dump_json(indent=2) }}
{% endif %}
{% elif verdict %}
Assessment JSON
{{ verdict.model_dump_json(indent=2) }}
{% endif %}