fixed email i18n and host
remove rubbish code