How to enable translations for Auth0 emails?

I am using the new universal login experience which I have set up to translate nicely into Spanish and French. I cant work out how to enable translations for emails from Auth0.

It seems like I need to manually store the user’s language preference and then read it in the email template. But I don’t know how to store the user’s language preference using the new universal login experience. Any guidance would be appreciated!