fixes sanitizing method for emails and clear method for queue
fixes methods to sanitize email addresses and clear queue