Hello.

I've got some code to generate a document based on a template and to attach it to an email.

The issue I'm having is that...