Rules

Rules

Activity and undo

The rule activity log, what each entry and outcome means, the detail messages, how long entries are kept, and what Undo can and cannot reverse.

The activity log shows what your rules did to new mail, one entry per step, and lets you undo many of those steps. Open it under Settings → Rule activity. The page says "What your rules did to new mail, newest first. Rules in Test show what they would have done."

What an entry shows #

Each step of a matching rule writes one entry. A rule that tags and archives a message writes two.

Part Example Meaning
Summary Redirect to helpdesk@example.com What the step does
Outcome Done See the table below
Test label Test The rule was in Test mode and the step was skipped or failed (simulated entries need no label)
Subject and sender Invoice 1042, from billing@acme.com · Receipts from Acme The message and the rule's name
Detail Queued (rob_...) Extra information or the reason for a skip or failure
Time 09:14 When the entry was written. Hover for the full date.
Undo Shown when the step can be reversed. See Undo.
Outcome Meaning
Done The step ran, or was handed to the sending queue or the job worker.
Simulated The rule is in Test mode. Nothing was changed.
Skipped The step did not run, on purpose. The detail says why.
Failed The step was tried and did not work. The detail says why.

Use the Rule menu (All rules or one rule) and the outcome buttons Done, Simulated, Skipped and Failed to filter. Without a button pressed, all outcomes are shown. The page loads 50 entries at a time; Show older loads more.

Rules that run in a desktop or mobile app while the Hub is away (see Rules) do not write to the activity log.

Summaries #

Step Summary in the log
Archive Archive
Move to folder Move to folder
Move to Spam Move to Spam
Move to Trash, Delete Move to Trash
Delete for good Delete permanently
Capture Capture (keep on the Hub)
Copy to folder Copy to folder
Mark as read, Mark as unread Mark as read, Mark as unread
Star, Remove star Flag, Clear flag
Tag Add tag, followed by the tag's internal ID
Inbox tab Set category people, notifications or newsletters
Notify me Always notify, Don't notify
Send a notification Send notification
Call a web address Call webhook, with the host name
Redirect Redirect to, with the addresses
Forward Forward to (or Forward (as attachment) to), with the addresses
Reply automatically Send automatic reply

Detail messages #

Detail Outcome Meaning
Queued (rob_...) Done The mail was handed to the sending queue. The ID is the queue item's.
Sent to helpdesk@example.com Done The queue item was sent.
Delivered (HTTP 200) Done The web address answered with this status. See Webhooks.
Already in Trash Done The message was in Trash already.
Another rule moved the message Skipped Several rules wanted to move the message; another one won. See Order of evaluation.
The message was already removed by another rule Skipped A rule above took the message away (redirect, capture, delete).
Decided after the message was announced (the rule needed the message body) Skipped A Notify me or Inbox tab step of a rule that needed the message text. See Conditions.
Not available yet Skipped This Hub version cannot run the step.
Loop guard: ... Skipped or Failed A loop guard stopped a send. See Limits and guards.
No automatic reply to ... Skipped Reply automatically did not answer. See Steps.
Already replied to sender@example.com in the last 24 hours Skipped The once-a-day limit of automatic replies.
Webhook failed: ... Failed The web address could not be reached after all retries, or refused the call.
The message body could not be loaded: ... Failed The rule needed the message text and the Hub could not fetch it in about two days. The summary of this entry is "Check the rule's conditions".

Entries for mail in the sending queue are updated as the item moves on. An item that waits for you shows its error in the sending queue.

How long entries are kept #

Entries are kept for 90 days by default and then deleted, once an hour. Change this under Settings → Rules → Limits and storage → Keep the activity log for … days (1 to 3,650 days). See Limits and storage.

Undo #

Undo reverses one step for one message. It appears only on entries with the outcome Done that can be reversed and were not undone yet. After an undo the entry says "Undone" with the time, and a message confirms it: "Undone: Archive".

Step What Undo does When Undo is offered
Tag Removes the tag Only if the message did not have the tag before
Mark as read Marks the message unread Only if it was unread before
Mark as unread Marks it read Only if it was read before
Star Removes the star Only if it had no star before
Remove star Stars it again Only if it had a star before
Archive, Move to folder, Move to Trash, Delete to Trash Moves the message back to where it was: the Inbox, Spam, or the folder it was in When the rule's move ran
Move to Spam Marks it as not spam, which moves it back to the Inbox When the rule's move ran
Redirect, Capture, Delete for good Cancels the action if it has not happened yet. Otherwise puts the kept copy back into the mailbox, in its original folder, with its read and star state and its date. While the Hub still has the action or its copy

No undo for Inbox tab, Notify me, Forward, Reply automatically, Copy to folder, Call a web address and Send a notification: what they did cannot be taken back. A forward or automatic reply that is still waiting in the sending queue can be cancelled there with Restore to mailbox.

Important

Undo on a redirect puts the message back into your mailbox. If the redirect was already sent, the recipient still has it: mail cannot be called back.

If a redirect's queue item has already been cleaned up (30 days after it finished), Undo uses the copy in Captured mail, as long as that copy is still kept.

When Undo does not work #

Message Meaning What to do
This can't be undone any more. The message was probably moved or deleted since. The message is no longer where the rule put it, or the kept copy is gone. The Undo button disappears. Find the message with the search, or in Captured mail.
Your mail provider refused the change, so nothing was undone. Try again in a few minutes. The provider returned an error. Try again later. If it keeps failing, check whether the mailbox needs you to sign in again.
This entry isn't in the activity log any more. The entry was deleted because it was older than the retention period.
Your Hub can't undo this yet. The Hub is older than the app. Upgrade the Hub.
That wasn't undone. Try again. Another error, for example the Hub was unreachable. Try again.