If you are receiving continuous spam emails from a contact, you can configure an automation rule under Admin > Automations > Ticket creation > New rule to automatically mark tickets coming from the contact as Spam. 


Sample rule:


Conditions: 

In Contacts > Requester Name/Requester Email > is Requester/Requester@abc.com


Actions: 

Mark as Spam