Salesforce has won a patent outlining how a blockchain-based platform can be used to prevent spam or other unwanted emails from hitting inboxes.