Fix encoding error for mail