Openfire and registration

I am wondering if there is such a plugin perhaps, or a way to have registrations to XMPP where user has to specify his/her email address where the password would be sent in order for him/her to log in. The current plugin Openfire has does not work for me and i’m not sure if that does exactly what i described above, besides i wouldn’t like the option anyway because i would have to open the admin port to WAN.

Thanks in advance.