fixing email encoding