Mail & Setup fixes

This PR adds the `media` directory to the list of directories which are checked as writable during the installation process.

Il also fixes a confusion between name and email in MailerFActory::sendEmailToShopManagers.

When a mail message can't be loaded, an exception is thrown, instead of failing miserabily.