I'm building a purchase anniversary flow and want to include a personalized recap in the email with the following data:
- Date of first order
- Product name from first order
- Total amount spent to date
- Total number of orders to date
What's the best way to pull this historical customer data into the email template?

