Whenever an order get's placed we will receive a webhook from shopify, and automatically generate the needed attachment which will get sent to the customer.
If you want to keep track of the files that are being sent, you can enable the bcc option, and you will get sent a copy of the original mail to the customer.