We suggest to use the EmailTemplate object and store them with their translation in the email_template table.
To send a message to an Ofuz user you need an EmailTemplate object and then pass it to the method User→sendMessage().
The sendMessage() methods takes 2 parameters:
Send a message to the currently signed in User.
$_SESSION['do_User']->sendMessage(new EmailTemplate("regthank"));
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.