We have a customer who would like the customer to get their quote attached as an csv in the email recieved after offfer have been made.
I can only see an option to attach a static file to the email.
You’re right that the standard setup only supports attaching a static file.
If the customer needs a dynamic CSV generated per quote/order, this has to be done in code with a notification subscriber listening to SendingConfirmationMail:
That notification gives you access to the order/quote and the MailMessage, so you can generate a CSV on the fly and attach it before the email is sent.
This notification is also fired when you check out to quote.