Free Script to Get Page as a String
Here is a great PHP script for creating html templates and including their content in an email body.
<?php
ob_start();
require_once(dirname(__FILE__) . ("/Email_Templates/receipt.php"));
$contents = ob_get_clean();
?>