Skip to main content
Version: 3.2.0

Email sender wildcards

Version: 3.2.0 Date: 2026-11-17

Goal: An email source can whitelist a whole domain or a local-part prefix, without listing every address.

Solution: Sender allowlist entries accept * the same way git branch filters do (*@abc.fr, scan-*@abc.fr). Matching uses the address in From (Name <addr> or the bare address), case-insensitive. Empty from still means every sender.

Features:

  • Workflow sender field accepts patterns, not only RFC emails
  • Exact addresses still match; a substring of another address does not

Implementation Details:

  • senderAllowed in email.filters.ts globs after extracting the address
  • Dots in the domain are escaped so *@abc.fr does not match user@abcXfr

Files Modified:

  • src/protocol/source/email/email.filters.ts - glob match on the From address
  • src/protocol/source/email/email.filters.spec.ts - domain and prefix patterns
  • ui/src/pages/workflows/stepForms/StepEmailForm.tsx - sender patterns, helper text, live examples
  • ui/src/utils/senderExamples.ts - "what will happen" lines for * patterns
  • ui/src/components/atoms/HookFormTextField.tsx - helper text under the field
  • docs/user/configuration/sources.md - from wildcards (EN / FR)

Release fragment: feat-email-sender-wildcard