type.inbound
and any(body.current_thread.links,
.href_url.domain.root_domain in $self_service_creation_platform_domains
and regex.icontains(.display_text, '\b(?:book(?:ing)?|hotels?)\b')
)
// an event housing pitch
and regex.icontains(body.current_thread.text,
'\b(?:hotels?|housing|accommodations?|room rates?|reserve your room)\b'
)
and strings.icontains(body.current_thread.text,
'annual meeting',
'conference',
'congress',
'convention',
'expo',
'forum',
'seminar',
'summit',
'symposium',
'trade show'
)
// sender profiles
and (
not profile.by_sender().solicited
or (
profile.by_sender().any_messages_malicious_or_spam
and not profile.by_sender().any_messages_benign
)
)
// negate highly trusted sender domains unless they fail DMARC authentication
and not (
sender.email.domain.root_domain in $high_trust_sender_root_domains
and coalesce(headers.auth_summary.dmarc.pass, false)
)
Playground
Test against your own EMLs or sample data.