Refactored for re-use in generating DLN and CMDLINE YAML email configs.
Committing new YAML eamil configs for CMDLINE jobs, also separated distinct types of output on the file system.