Google Apps Script to send third party recruiter email to spam
...When a match is found, a reply is sent informing the sender that the message is being reported as spam and will not be read. The script then logs matches to a spreadsheet and updates a piechart displaying what percentage of these type of messages were sent from each domain.