How to Generate Document and Send to Customer