modify mailer config and update language settings

put mailer config into a file <mailer-config.js> instead of env variables.
angular module lang does not ask the server for JSONs containing
translations anymore. Instead, the module has all the translations in one
of its var.