{% extends "base.html" %} {% block title %}Home{% endblock %} {% set labels = {'sent':('send','Sent'),'replied':('message','Replied'),'received':('inbox','Received'),'scheduled':('calendar','Booked'), 'cancelled':('x','Cancelled'),'review':('approvals','Waiting for approval'),'error':('alert','Problem'),'failed':('alert','Failed'), 'human reply':('message','Real reply'),'followed up':('clock','Reminder sent'),'answered':('check','Answered'),'skipped':('arrow','Skipped'), 'bounced':('alert','Bounced'),'split':('zap','Split'),'next step':('arrow','Next step'),'tracker':('receivables','Tracker'), 'paid':('receivables','Paid'),'broken promise':('alert','Broken promise'),'answered question':('message','Answered a question'), 'data received':('database','Data received'),'quote':('quote','Quote')} %} {% block content %}
{{ today.strftime('%A %d %B') }}

{{ greeting }}{% if user %}, {{ user.name.split()[0] }}{% endif %}

{% if engine.stalled %} Emails haven't been checked since {{ engine.last_tick_at }}. Close and reopen {{ product.name }} to restart it. {% elif engine.error %} Something needs attention: {{ engine.error }} {% elif engine.last_tick %} Running {% else %} Starting…{% endif %} · Emails written by {{ 'your AI' if writer_mode == 'ai' else 'the email library' }}
{{ icon('calendar') }} Schedule an Email {{ icon('plus') }} New Automation
{% if running_locally %}{% endif %}
Waiting for approval{{ review_count }} Going out this week{{ stats.coming }} Sent this week{{ stats.sent_week }} {% if stats.tracking %}Open invoices{{ stats.open_count }} {% else %}Automations on{{ automations|length }}{% endif %}
{% if attention %}

{{ icon('message') }} Needs You

{% endif %}

Coming Up

See schedule
{% if events %} {% else %}
{{ icon('calendar', 22) }}Nothing scheduled yet.
{% endif %}

Recently Sent

All emails
{% if recent %} {% else %}
{{ icon('mail', 22) }}No emails sent yet.
{% endif %}

Activity

{% if activity %}{% else %}
No activity yet.
{% endif %}
{% endblock %}