validation on mailTo
Removed context vars. Added configuration options for print to the -config.js
Honor mailPrint option from configuration