Add some defaults for the mailer params. Also ensure any database scripts are ran after the hosts entry has been inserted