type.inbound
and (
body.plain.raw is null
or body.plain.raw == ""
or regex.imatch(body.plain.raw, '^\s*$')
)
and (
body.html.raw is null
or body.html.raw == ""
or regex.imatch(body.html.raw, '^\s*$')
)
and length(subject.base) > 150
and (
strings.icontains(subject.base, 'purchase a home')
or regex.icontains(subject.base,
'the listing (?:on|at)',
'(?:interested in|regarding) (?:this|the) property',
'(?:will be|are) relocating'
)
)
Playground
Test against your own EMLs or sample data.