Fix from nnseva (https://github.com/nnseva) for proper formatting of To: email field for non ascii caracters