type.inbound
and sender.email.email == "no-reply@filemail.com"
and any(ml.nlu_classifier(regex.extract(body.current_thread.text,
'^(?P<first_line>[^\n]+)\n'
)[0].named_groups["first_line"]
).intents,
.name == "callback_scam" and .confidence == "high"
)
Playground
Test against your own EMLs or sample data.