issue #22390: email support for reports

Email will become an option if you've set the smtp settings in the node-datasource config.js. Needs to be tested against a real smtp server.