Fixes bug with mail.php on latest composer update