Added email support to config.js.