Fixing email parameteres