set message when email is send