Hello @Soudios
You can use this filter example to only get emails with attachments.
For more filter examples check here:
Cheers
Steve