Open Webmail
Mail clients & workspace·5 min read

Filters, rules & spam lists

Automate inbox triage with server-side Sieve-like JSON rules, blocked domains, and safe sender overrides.

Inbound evaluation pipeline

Every incoming message passes through a deterministic server-side pipeline before landing in a folder:

  1. 1Authentication & spam scoring

    Inbound SMTP verifies SPF, DKIM, and DMARC and scores risky attachments or failed auth.

  2. 2Safe & blocked sender lists

    Safe senders bypass spam classification and land in Inbox. Blocked addresses/domains go straight to Spam.

  3. 3User mail rules (top to bottom)

    Enabled rules evaluate conditions (from, to, subject, body, has_attachment, size_kb) and execute actions (move_folder, apply_label, mark_read, star, forward, delete).

Rule JSON structure

Rule payload
{
  "name": "Archive vendor receipts",
  "matchMode": "all",
  "conditions": [
    { "field": "subject", "operator": "contains", "value": "Receipt" },
    { "field": "has_attachment", "operator": "is", "value": "true" }
  ],
  "actions": [
    { "type": "move_folder", "value": "archive" },
    { "type": "mark_read" }
  ],
  "stopProcessing": true
}