let process = require('process');

module.exports = {
  'database': {
    'host': 'localhost',
    'user': 'choirmaster',
    'password': 'choirmaster',
    'database': 'choirmaster'
  },

  'authentication': {
    'encryptionKey': 'changethisatonce'
  },

  'server': {
    'port': 4567
  }
};

if (process.env.HEROKU) {
  module.exports.database = {
    host: process.env.DATABASE_HOST,
    user: process.env.DATABASE_USER,
    password: process.env.DATABASE_PASSWORD,
    database: process.env.DATABASE_NAME
  };

  module.exports.server.port = process.env.PORT;
}

@@ -281,16 +281,152 @@
 ': 4567%0A
+  %7D,%0A%0A  'email': %7B%0A    'transporter': 'gmail',%0A    'auth': %7B%0A      'user': 'yourgmailusername',%0A      'pass': 'yourgmailpassword'%0A    %7D%0A
   %7D%0A%7D;%0A%0A

Add example email configuration to configuration.example.js