Update email_controller.php