If you want to clean out most of the outdated emails with their attachments. Then, Here, We will share the best ways to search Gmail by date for emails with attachment
First of all, open your Gmail and tap the Settings icon which is present at the top right corner of your device screen.
Select the option Attachments and Tap Save.
In order to search for a message that contains an attachment, Tap the button Show Options which is present at the bottom right of the message. After that, you will see a drop-down menu where you can select the "Date range." option.