Fixed a sanitization issue with encrypted emails