create custom email template but face this issue in magento 2.4.6 > app/code/YourVendor/YourModule/etc/email_templates/invoice_email_template.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Email:etc/email_templates.xsd"> <template id="invoice_email_template" label="Invoice Email Template" file="invoice_email_template.html" type="html" module="YourVendor_YourModule" area="frontend"/> </config> > invoice_email_template.html {{template config_path="design/email/header_template"}} <table> <tr class="email-intro"> <td> Email: {{var email}} </td> <td> Name: {{var name}} </td> </tr> </table> {{template config_path="design/email/footer_template"}} magento default use html Invoice for your Main Website Store order Invoice_new.html but not working any suggestion for that advance thanks for help