Fix UTF8 encoding in mails & logging error