Unwanted tickets

Unwanted tickets

Greetings,

We receive emails from advertisement companies or automatic replies from payments ext. and they all turn into open tickets. 
How could we delete or automatically close the tickets?