type.inbound
and strings.icontains(body.plain.raw, "business days")
and strings.icontains(body.plain.raw, "account")
and any(filter(body.links,
.href_url.domain.root_domain not in $tranco_10k
or (
.href_url.domain.root_domain in $tranco_10k
and (
.href_url.domain.domain in $self_service_creation_platform_domains
or .href_url.domain.root_domain in $self_service_creation_platform_domains
or .href_url.domain.root_domain in $free_file_hosts
or .href_url.domain.domain in $free_file_hosts
)
)
),
strings.icontains(.href_url.path, "remittance")
)
Playground
Test against your own EMLs or sample data.