type.inbound
and regex.contains(body.html.raw,
'<script[^>]*>[^<]*setDate\s*\(\s*[^<]*getDate\s*\('
)
and any(ml.nlu_classifier(body.current_thread.text).intents,
.name == "cred_theft"
)
Playground
Test against your own EMLs or sample data.