Auto Forward RulesVersion 0.1.0

Docs

Everything the template does, sheet by sheet.

Install

Open the copy link from your purchase, then Menu → Set up sheets and authorize (see How it works).

Rules sheet columns

ColumnWhat to write
IDLeave empty; it is filled in for you. Lowercase letters, numbers and hyphens if you write one
ActiveCheckbox. Only active rules run
NameAnything that helps you remember the rule
Gmail searchAny search that works in Gmail's search box: from:, to:, subject:, has:attachment, label:, older_than:, OR, parentheses
Forward toOne or more addresses, separated by commas
Drive folder (ID or URL)Paste the folder's URL. Each email is saved as a PDF; emails with attachments get their own subfolder
LabelA Gmail label to add. It is created if it does not exist
Include old emailsChecked: also handles emails that already matched before the rule was created. Unchecked: only new ones
Modesimulate (writes to the Log, changes nothing) or live
CreatedFilled in for you. Without “Include old emails”, only emails after this date are handled

A rule needs at least one action: forward, Drive folder or label. Rows with a mistake are skipped and the reason is written in the Log.

Simulate mode

New rules start in simulate. Simulated rules only run when you choose Menu → Simulate now; the hourly trigger never runs them. Always simulate first: a search can match more emails than you expect.

ItemWhat it does
Set up sheetsCreates the Rules, Log and Settings sheets
Simulate now (changes nothing)Runs the rules in simulate mode and writes what they would do in the Log
Run nowRuns the live rules once
Turn on hourly triggerRuns the live rules every hour (or the frequency set in Settings)
Turn off hourly triggerStops all automatic runs
Run self-testSends 4 test emails to your own address and checks the whole chain. Uses 8 of your daily sends. Result in the Self-test sheet

Labels the tool adds

  • gfr-done-<rule ID>: the rule already handled this email. It will not handle it again.
  • gfr-error-<rule ID>: an action failed on this email; the Log says why. It is not retried on its own. To retry, remove this label from the email.

Settings sheet

Frequency (hours), max time per run (seconds), emails per rule per run, recipient reserve (daily sends kept for you), max log rows.

Forwarding outside your company

Forwarded emails can land in the recipient's spam, and some companies do not allow automatic forwarding to outside addresses. On Google Workspace, check with your administrator first.

Moving to a new version

Make a copy of the new version, copy your rows from the old Rules sheet into the new one, turn off the trigger in the old copy and turn it on in the new one. Emails already labeled gfr-done- are not handled again.

Help

Write to [email protected]. We never ask for access to your account, your sheet or your emails.