to check the email service hook