{% extends 'base.html' %}{% block title %}Mail connection · Keywright{% endblock %} {% block body %}{% include '_mail_style.html' %}
Connect the agents mailbox and its PDF delivery destination.
Mailbox operations use this agent’s existing Keywright permissions. Reading a message here does not mark it read.
Create this token in Budget → Settings → Document inbox. PDFs are stored as received. Each attachment can be up to 5 MiB.
The first sync only loads your inbox. New arrivals after that can run automatically. Existing messages can be processed with Run rules.
These email rules are separate from the legacy YAML router. Pause overlapping legacy rules before enabling automatic processing.