In-game mail bot spamming

So, not sure if there is a way to block people from sending mail to you if they are not friends, but some feature like that must be added since it is disgusting to check your mail and see one of this gold spammers here.