Move mailer settings to config.yml
Fix admin factory error when admnin_emails is blank