{% extends 'base.html' %}{% block title %}Email rules · Keywright{% endblock %} {% block body %}{% include '_mail_style.html' %}
Match incoming messages and choose what happens next. The first enabled matching rule runs, in priority order.
{% include '_mail_nav.html' %}{{ 'From '+entry.sender if entry.sender else 'Any sender' }}{% if entry.subject %} · Subject contains “{{ entry.subject }}”{% endif %}
{{ {'pdf':'Send PDF attachments to Budget','mark_read':'Mark as read','move':'Move to folder'}.get(entry.action) }}{% if entry.action == 'move' %}: {{ entry.target }}{% endif %}