Updated mailer host in config.
Fixed NPE.