I have an old library that can take a Rev text field (including embedded images) and create a properly encoded HTML message.. I'll dig it out of the archives and post it in the next day or two :-)