type.inbound
and any([body.current_thread.text, subject.subject],
regex.icontains(.,
'schedule.c\b',
'tax.form',
'1099\b',
'\bw-?2\b',
'tax.return',
'tax.preparation'
)
and (
regex.icontains(body.current_thread.text,
"reply.with.your.payment",
"payment.details",
"send.payment.information",
"provide.payment",
"payment.method",
"billing.information",
"processing.fee",
"completion.fee"
)
)
and any(body.links, strings.icontains(.display_text, "PDF"))
)
and not any(ml.nlu_classifier(body.current_thread.text).topics,
.name in ("Events and Webinars", "Newsletters and Digests")
)
and not sender.email.domain.root_domain in (
"intuit.com",
"hrblock.com",
"turbotax.com",
"taxact.com",
"freetaxusa.com",
"geico.com",
"email1.geico.com",
"exs.eventshq.com",
"square.com"
)
// negate highly trusted sender domains unless they fail DMARC authentication
and (
(
sender.email.domain.root_domain in $high_trust_sender_root_domains
and not headers.auth_summary.dmarc.pass
)
or sender.email.domain.root_domain not in $high_trust_sender_root_domains
)
Playground
Test against your own EMLs or sample data.