updated the email service