Sign in to your Gmail inbox.
SelectSettings(the gear icon).
In theSettingsscreen, go to theAdvancedtab.

In theTemplatessection, selectEnableto work with Gmail templates.
SelectSave Changesfor the change to take effect.
This way, you’ll only write the message once.

SelectCompose(theplus signicon located in the upper-left corner).
In theNew Messagewindow, throw in a general message that lets the sender know that you’ve blocked them.
SelectMore(thethree stacked doticon located in the lower-right corner of the New Message window).

SelectTemplates>Save draft as template>Save as new template.
Enter a descriptive name for the template, then selectSave.
If you have an existing spam filter, edit it to include the template response.

Select theSettings gear icon.
Select theFilters and Blocked Addressestab.
SelectCreate 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, selectCreate 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, chooseDelete it.
Then, selectSend template, and choose a spam response template.
When everything looks good, selectCreate filterto 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.







