type.inbound
and (
any(recipients.cc, .email.domain.root_domain == 'deloittellc.com')
or any(body.previous_threads,
any(.recipients.cc, .email.domain.root_domain == 'deloittellc.com')
)
)
Playground
Test against your own EMLs or sample data.