How to convert the custom content of autoresponder to a PDF and send it as an attachment ?