I want to show the customer ID in the order confirmation emails.
I know I have to add a variable into the email template something along the lines of :
{{var customer.id}}
But that example doesn't work. I have searched and it doesn't seem to be one of the default variables so how can I do this?