This task can be performed using Mail Sweeper
Save time (and money) managing your email
Best product for this task

Mail Sweeper
productivity
Mail Sweeper works by labeling unimportant emails in your inbox based on your simple preference, and periodically sweeping them into the trash can. That's it, it's really that simple.
What to expect from an ideal product
- Labels unimportant emails in your inbox based on your preferences.
- Periodically sweeps labeled emails into the trash can.
- Customizable filters to match your specific email preferences.
- Maintains a cleaner and more organized inbox.
- Works automatically without needing constant manual oversight.