fixing email details