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.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)