Mail & Setup fixes

This PR adds the `media` directory toi the list of directories thaht are checked as writable during the installation process.

Il also fixes a confusion between name and email in MailerFActory::sendEmailToShopManagers.