Installing an Add-on in Thunderbird. https://support.mozilla.org/en-US/kb/installing-addon-thunderbird Enter the add-on's name FiltaQuilla or enough of it to limit the search results returned to a manageable number and press Enter or click the magnifying glass icon.
You can’t do this with the current filters because they don’t check for attachment presence or attachment names. The system only filters based on basic email fields, so this feature would require a new filter option to be added.