Sanitize subject and sender of message when using $mdToast to alert user of new messages. Fixes #5178