Fixed ticket history and changed email config