We suggest to use the EmailTemplate object and store them with their translation in the email_template table.
The sendMessage() methods takes 2 parameters:
Send a message to the currently signed in User.
This will load from the email_template table the regthank template and send it to the currently sign in user. When Ofuz users sign-in the do_User object from the User class is instantiated and stored in the session.