type.inbound
and regex.icontains(body.current_thread.text, 'PayApp#\d+')
and regex.icontains(body.current_thread.text, '[a-z0-9\.\+\-]+@[a-z0-9\-]+\.')
and strings.icontains(subject.base, "payapp")
Playground
Test against your own EMLs or sample data.