Thanks Huishengrebody,
Your technique to get the template worked but I was not sure where to put this code. For now, I tested it by putting your code in the CustomMailProducer default constructor. I could move it into the produce() method, but I was wondering if there was a dynamic way to get the template name - maybe from the Execution?
How does the default MailProducerImpl get the template name?
Thanks
Kevin