{% set type_icons = {"rejection": "✗", "interview": "📅", "confirmation": "✓"} %} {% set type_labels = {"rejection": "Rejection", "interview": "Interview", "confirmation": "Confirmation"} %} {% set matched = d.matched_signals | from_json if d.matched_signals else [] %}
{{ type_icons.get(d.detection_type, "?") }}
{{ matched | length }}/4 signals {% if d.job_title %} {{ d.job_title }} {% else %} (job not found) {% endif %} {% if d.job_company %} — {{ d.job_company }} {% endif %}
{% if d.snippet %}

"{{ d.snippet }}"

{% endif %} {% if matched %}

Matched: {{ matched | join(", ") }}

{% endif %} {% if d.email_subject %}

From: {{ d.email_from or "unknown" }}

{% endif %}