Update EmailController.php