Email, Messaging, & Video Calls Email 306 306 people found this article helpful How to (Mostly) Block a Sender and Let Them Know You Did in Gmail Use templates to decline messages By Heinz Tschabitscher Writer A former freelance contributor who has reviewed hundreds of email programs and services since 1997. our editorial process Heinz Tschabitscher Updated December 17, 2019 Email Gmail Yahoo! Mail Tweet Share Email A popular way to stop seeing spam in your Gmail inbox is to set up a filter to automatically delete new messages that arrive from spam senders. Take this one step further and let these senders know you blocked them. Create a rule in Gmail that removes the email from your inbox and sends the spam sender an email with a message that you blocked them. How to Enable Templates in Gmail Instead of writing individual emails to the people who send you spam email, use a template to send an automatic response when you block someone's email. Before you can use a template, though, you'll need to enable templates in Gmail. Sign in to your Gmail inbox. Select Settings (the gear icon). Choose Settings. In the Settings screen, go to the Advanced tab. In the Templates section, select Enable to work with Gmail templates. Select Save Changes for the change to take effect. Create Your Response Template You'll need a template to send as a response each time you block an email sender. This way, you'll only write the message once. Select Add (the plus sign icon located in the upper-left corner). In the New Message window, type a general message that lets the sender know that you've blocked them. Select More (the three stacked dot icon located in the lower-right corner of the New Message window). Select Templates > Save draft as template > Save as new template. Enter a descriptive name for the template, then select Save. Create A Filter Next, you'll create a filter to block spam messages and set it up with the new template response. If you have an existing spam filter, edit it to include the template response. Open the Gmail settings. Select the Filters and Blocked Addresses tab. Select Create a new filter. If you have an existing filter, edit it instead. Set the criteria Gmail will use to filter your mail. Choose a sender email address, subject, or certain words in the body of the email. Combining these will only filter email that meets all the criteria specified. When you're done, select Create filter. Choose the actions Gmail should take when it receives an email that matches your criteria. Choose as many as you like, but to eliminate spam, choose Delete it. Then, select Send template, and choose a spam response template. When everything looks good, select Create filter to finalize the new filter. The filter creation dialog will close, and the filter list will update to show your new filter. Next time you receive a message that meets the filter criteria, Gmail will take the actions you specified.