This task can be performed using Block Sender
Block and bounce back unwanted emails.
Best product for this task

Block Sender
productivity
BlockSender.io lets you block unwanted emails and spam, giving you control over what lands in your inbox. You can set up advanced blocking rules to fit what you're looking for, and with a browser extension, blocking senders right from your inbox is straightforward. It also has a feature to send bounce-back emails to deter repeat offenders. If you have multiple email accounts, you can share your blocking rules among them, making it easier to manage your emails across different platforms.

What to expect from an ideal product
- Block unwanted emails and spam with advanced rules.
- Easily block senders directly from your inbox.
- Send bounce-back emails to discourage repeat offenders.
- Share blocking rules across multiple email accounts.
- Manage emails across different platforms effortlessly.