local settings cleanup
clean the email a bit in the API
loggers shouldn't crash when dealing with unicode strings