Fixed bug when the email is saved.