Change the dependencies of email and handler