V5 $custom1 Doesn't work

$custom1 doesn’t work from the invoices in the email templates

We are looking to improve different variable support,

please see here for a full list of current variables

https://invoiceninja.github.io/docs/custom-fields/#custom-fields