Docs/ AI & automation

Undo & audit trail

Every autonomous action is reversible and logged with its reasoning.

Every action the agent or a behaviour rule takes is recorded in an append-only audit log with full reasoning attached. Autonomous actions remain reversible within a configurable undo window. The log is your permanent record of what happened, why, and who — or what — did it.

What the audit log records

The audit log is append-only: entries are never deleted or edited after they are written. Each entry captures the full context of the action at the moment it occurred, including the agent’s reasoning, so you can understand a decision days or weeks later.

Sample audit log entry
Timestamp2026-06-13 09:14:32 UTC
ActorAgent (Autopilot — trusted-clients rule)
ActionSent reply
ThreadRe: Invoice #4892 — Meridian Design Co.
Recipientaccounts@meridiandesign.com
Confidence0.94
ReasoningThread matched trusted-clients rule (domain: meridiandesign.com). Intent: payment confirmation request. Standing instruction: confirm receipt and provide ETA within 24 h. No escalation triggers found. Confidence above floor (0.8). Send delay elapsed without cancellation.
Reversible until2026-06-13 09:15:02 UTC (30 s window — elapsed)

Reversing an autonomous action

While an Autopilot send is inside its delay window, a ‘Cancel send’ button appears on the staged item and as a notification. Tapping it marks the action as ‘undone’ in the audit log — the message is never sent, the thread returns to your inbox as unactioned, and the audit entry records who cancelled and when.

After the delay window expires the send completes and cannot be recalled from within Aiemaily. Standard email recall caveats apply at that point (i.e. whether the recipient’s server honours a recall is outside Aiemaily’s control).

Undo only works within the delay window

Once the send-delay window expires and the message is transmitted, Aiemaily cannot unsend it. Set a longer delay window in Settings → AI → Autopilot if you want more time to intervene.

Reading the audit log

Access the audit log from the left nav under Activity → Audit log. You can filter by date range, actor (agent, rule name, or yourself), action type (sent, filed, scheduled, escalated, cancelled), and thread. Each entry expands to show the full reasoning text.

The log is also accessible per-thread: open any thread and click ‘Activity’ in the thread sidebar to see every agent and rule action taken on that specific conversation.

  1. 1

    Open the audit log

    Go to Activity → Audit log in the left nav. The log opens with the most recent entries at the top.

  2. 2

    Filter to a thread or time range

    Use the filter bar to narrow to a specific thread, actor, action type, or date range. Filters stack.

  3. 3

    Expand an entry

    Click any log entry to expand it. The full reasoning, confidence score, matched rule, and all metadata are shown.

  4. 4

    Act from the log

    If a reversible entry is still within its undo window, a ‘Cancel’ button appears inline. You can cancel directly from the log without navigating to the thread.

Retention and export

Audit log entries are retained for 90 days on the standard plan and indefinitely on Business plans. You can export the full log or a filtered subset as JSON or CSV from Settings → Data → Export audit log.

Log entries are stored server-side in Aiemaily’s secure backend and are not included in your connected mail account. They are scoped to your Aiemaily account and not accessible to other users on shared inboxes unless you grant explicit access.

Audit log is read-only

Entries cannot be edited or deleted, including by Aiemaily staff. This is intentional: the log’s integrity is its value. If you believe an entry is in error, contact support — we can annotate entries but not modify them.

Frequently asked

Feature overview

AI Chief-of-Staff

Ready to try it?

Start free