Resolved WITH attachment

Anyone have a scrip/template example to include the resolve comment AND also allows an attachment/s to be included when resolving a ticket ?

I have seen some examples, that require two emails being sent, but I am hoping to be able to have just a single message sent.