How to Generate Google Documents and Send Them as Gmail Attachments