type.inbound
and any(body.links,
strings.starts_with(.display_text, 'https://')
and strings.contains(.display_text, '_com/')
and not strings.contains(.display_text, '.com/')
and strings.parse_url(.display_text).url is null
)
Playground
Test against your own EMLs or sample data.