this.spooler = job.spooler;
logger = job.getLogger();
Variable_set params = job.spooler.create_variable_set();
params.merge(job.spooler_task.params());
if(job.spooler_job.order_queue() != null && job.spooler_task.order()!=null){
params.merge(job.spooler_task.order().params());
}
String readSettings = params.value("read_mail_settings");
if (readSettings!=null && (readSettings.equalsIgnoreCase("yes") ||
readSettings.equalsIgnoreCase("1") ||
readSettings.equalsIgnoreCase("true")) ){