remove the unused users and modify the email info