type.inbound
and length(body.current_thread.text) < 10000
and strings.ilike(body.current_thread.text,
"*proposal*",
"*specified link*",
"*secure*"
)
and length(filter(body.current_thread.links,
.href_url.domain.root_domain == 'behance.net'
and strings.icontains(.href_url.path, '/gallery/')
and .display_url.domain.root_domain == 'behance.net'
and strings.icontains(.display_url.path, '/gallery/')
)
) == 1
and not (
sender.email.domain.root_domain in $high_trust_sender_root_domains
and coalesce(headers.auth_summary.dmarc.pass, false)
)
Playground
Test against your own EMLs or sample data.