* @param array $textrep replacements to apply on the text part
* @param array $htmlrep replacements to apply on the HTML part. When leave null the replacements from $textrep will be used but all the urls will be wrapped with <a> tag. Ex. <a href="http://bar.com">http://bar.com</a>.
* @param array $htmlrep replacements to apply on the HTML part, null to use $textrep (with urls wrapped in <a> tags)
* @param string $html the HTML body, leave null to create it from $text
* @param bool $wrap wrap the HTML in the default header/Footer