How is it possible to build an Order Confirmation Email

Thanks for your reply @TomM2 .
Well, I’ve tried to use programmable Emails for the confirmation Email and I can get all Deal Informations for a Contact using the associations API, but I can’t adjust these Deals (mark them as sent for example).
Do think this can be done using programmable Emails, or is a third party app necessary in this case?