I have to try to add custom attributes to the order confirmation email. For instance, I have added the following code to fetch custom product attributes created in Magento 2 and