type.inbound
// zoho sign's notification footer is in the current message, not a quoted thread
and strings.icontains(body.current_thread.text,
"automated email from Zoho Sign"
)
// with somewhere to send the recipient... zoho's own report-abuse footer link doesn't count
and any(body.current_thread.links,
.href_url.scheme in ("http", "https")
and not (
.href_url.domain.root_domain == "zoho.com"
and strings.istarts_with(.href_url.path, "/report-abuse")
)
)
// but it never left zoho sign's sending infra... regional DCs use ccTLD variants (.ca, .net.au, .net.uk, .uk)
and not any(headers.hops,
regex.imatch(.received.source.raw,
'[^ (]+\.(?:transmail\.net(?:\.in)?|zeptomail\.(?:net(?:\.[a-z]{2})?|[a-z]{2})|zohomail360\.[a-z]{2}) .*'
)
)
Playground
Test against your own EMLs or sample data.