Update hookEmail.php