Thanks for that, I got it working.
Just one question.
When I first tried this, I got errors.
wa_appbuilder_php.php was being called twice, once from dataasssist
<?php require_once("../WA_DataAssist/WA_AppBuilder_PHP.php"); ?>
then later from mailformatting_php.php
i edited the file and got it working, but thought you should know in case its a bug