I try to build an Ionic 4 app with the auth0-js and auth0/cordova package.
I want to send verification email in different languages. I want to store the language string in the user.user_metadata so I can access it in the Email template.
Problem is with an rule it’s to late because the verification Email is already sent.
what I tried:
1.) the verify email is sent before the rule is applied. So a rule is no option to get the user language for the template, because it’s too late.
2.) with a hook the context.requestLanguage String would be perfect, but it is empty.
Is there any way to sent the language string to a pre hook?