Fixed the email controller section