type.inbound
and length(filter(attachments, .file_type == "pdf")) >= 1
and any(filter(attachments, .file_type == "pdf"),
beta.parse_exif(.).author == "Shelby Porter"
or beta.parse_exif(.).creator == "Shelby Porter"
)
Playground
Test against your own EMLs or sample data.