type.inbound
and strings.icontains(subject.subject, 'invit')
and length(body.links) == 0
// please find attached language
and regex.icontains(body.current_thread.text,
'(?:please|find|view).{0,50}attached'
)
// a single image attachment or there are 0 attachments
and (
(
length(attachments) == 1
and all(attachments, .file_type in $file_types_images)
)
or length(attachments) == 0
)
and any(ml.nlu_classifier(body.current_thread.text).topics,
.name == "B2B Cold Outreach" and .confidence == "high"
)
Playground
Test against your own EMLs or sample data.