Encoding email in base64