Woocommerce send custom email receipt based on product attribute

I would hook into the woocommerce_thankyou then evaluate the order data. I see there is a good answer on Stack Overflow for hooking and a good answer on Stack Exchange for getting the item’s meta data into the email.