How to enable Email 2FA

Hi, I tried at first to manage YubiKey OTP security key

I guess I should enable Yubikey just like the Email 2FA

I wonder how I should enable the feature. Is this at the docker installation moment or can I enable it from the UI?

You need to enable SMTP support for this to work.
Once that is configured it should work.

See

Thank for your answer,
I use truenas scale, I think I should install the dani-garcia docker image elsewhere, right?