type.inbound
and sender.email.domain.root_domain == "nifty.com"
and (
sender.email.local_part in map(recipients.to, .email.local_part)
or sender.email.local_part in $org_slds
)
and ml.nlu_classifier(body.current_thread.text).language != "japanese"
// and no false positives and not solicited
and not profile.by_sender_email().any_messages_benign
Playground
Test against your own EMLs or sample data.