Enabling email notifications caues mattermost not to start

Try validating your config.json in http://jsonlint.com/. There’s a bug in 3.1 outputting cryptic error messages. Most of the time it’s a typo in config.json.