Email Filtering & Routing

Priority-ordered email filtering.

AliasFleet email filtering evaluates inbound messages inside the mail pipeline before forwarding to your primary inbox. Match sender addresses, domains, subjects, arbitrary MIME headers, regex patterns, attachments, or SPF/DKIM/DMARC verdicts, then chain automated actions in strict priority order.

19 matchable fields and regex
ALL / ANY logic with stop flags
16 automated delivery actions

Filter before mail ever reaches your inbox

Combine exact sender blocklists on every plan with multi-condition routing pipelines across custom domains and forwarding aliases.

Deep header and auth inspection

Evaluate from_address, from_domain, subject, arbitrary header names, email_size_kb, attachments, spam_score, spf_status, dkim_status, and dmarc_status.

Multi-condition logic with priority

Combine 1 to 5 conditions using match_type ALL or ANY across 13 operators including matches_regex, exists, and numeric comparisons.

Reroute, rewrite, or drop silently

Execute 1 to 5 actions per match: reroute_to another verified inbox, add_subject_prefix, strip_tracking_pixels, strip_attachments, quarantine, or drop_silently.

Automatic protection triggers

Use deactivate_alias, add_to_blocklist, turn_off_pgp for verification OTPs, or send_to_webhook directly from a rule.

Conditional routing rule structure

Rules run in ascending priority order (1, 2, 3) and can halt further evaluation with stop_processing when matched.

invoice-routing-rule.jsonPOST /v1/rules
{
  "name": "Route Vendor Invoices & Strip Trackers",
  "priority": 1,
  "is_active": true,
  "match_type": "ALL",
  "stop_processing": true,
  "conditions": [
    {
      "field": "subject",
      "operator": "matches_regex",
      "value": "(?i)^invoice\\s+#[0-9]+"
    },
    {
      "field": "has_attachments",
      "operator": "is",
      "value": "true"
    }
  ],
  "actions": [
    {
      "type": "strip_tracking_pixels"
    },
    {
      "type": "add_subject_prefix",
      "params": { "prefix": "[BILLING] " }
    },
    {
      "type": "reroute_to",
      "params": { "destination_id": "dest_finance_inbox" }
    }
  ]
}

Filtering and routing quotas by plan

Every account gets sender block and allowlists. Pro adds wildcard sender matching and 20 conditional routing rules; Business lifts limits completely.

CapabilityFreeProBusiness
Sender blocklists and allowlistsExact email addressesExact + Wildcard/Domain rulesExact + Wildcard/Domain rules
Conditional routing rules engine0 rulesUp to 20 rulesUnlimited rules
Conditions and actions per ruleNot included1-5 conditions, 1-5 actions1-5 conditions, 1-5 actions
Tracker pixel stripping actionStandard forwarding onlyIncludedIncluded
API rule management (/v1/rules)Not includedDashboard managementFull REST API access

Explore filtering docs and tools

Inspect sender rules, webhook actions, and API endpoints for managing routing automation.

Rules Engine API reference

Complete catalog of all 19 condition fields, 13 operators, and 16 action schemas.

Explore

Sender block and allow rules guide

Block noisy senders globally or restrict specific aliases to trusted domains.

Explore

Email Webhooks

Pair conditional rules with send_to_webhook to notify apps or Slack channels.

Explore

Email filtering questions

How conditional routing rules and sender filters process inbound messages.

Rules run inside the AliasFleet Engine during inbound processing before the message is forwarded to your destination inbox. Messages dropped or quarantined by a rule never hit your primary mailbox.