{% extends "admin/base.html" %} {% block title %}Inbox | Admin{% endblock %} {% block content %}

Outreach

Inbox

Pull incoming emails, auto-match to leads, generate follow-up replies. Review before sending (default) or enable auto-send.

Master prompt + settings

min)

Reply Composer (lead-aware AI reply)

Search a lead → their full thread (contact, car, every email sent/received) is dumped into the input. Paste the new incoming message below the line, add notes if needed, Generate, then copy the reply to send manually by mail or text.

No lead selected.
Input (lead thread + new message)
Comments / extra instructions (optional)
Generated reply
{% for m in messages %}
{{ m.from_name or m.from_email }} {{ m.from_email }}
{% if m.reply_status == 'sent' %}Sent {% elif m.reply_status == 'drafted' %}Drafted {% else %}No reply{% endif %} {% if not m.lead_link_id %}Unmatched{% endif %}
{% if m.car_line %}

Matched: {{ m.car_line }}

{% endif %}

Subject: {{ m.subject }} · {{ (m.received_at_iso or m.received_at or '')[:19] }}

Their email
{% if m.our_reply %}
Our previous reply
{% endif %}
Generated reply
{% else %}

No emails in inbox. Click "Pull inbox now" to fetch.

{% endfor %}
{% endblock %}