Added the email controller