(Added in 11.0)

You can configure rules to automatically route new mail to groups based on message properties.

For example, you may want to route messages addressed to support@* to the Support group, orders@* to Sales, and receipts@* to Billing.

These messages will be delivered to the Inbox bucket in those groups, and group managers can configure additional sorting from there.

Routing KATA

Automations are available for complex workflows but are no longer required.

Multiple conditions in a single if: node are “all of these”, and multiple if: nodes are “any of these”.

Conditions include: script, recipients, sender_email, spam_score, subject, body, and header.

Actions include: bucket, comment, group, importance, owner, and watchers.

rule/dev:
  if/to:
    recipients: dev@, development@, bugs@
  if/subj:
    subject: [Bugs] *
  then:
    group: Development

rule/sales:
  if:
    recipients: sales@
  then:
    group: Sales

rule/billing:
  if:
    recipients: billing@, receipts@
  then:
    group: Billing

rule/corp:
  if:
    recipients: corporate@, jobs@cerb.example, partners@cerb.example, corp@
  then:
    group: Corporate

rule/support:
  if:
    recipients: support@, team@, help@
  then:
    group: Support