in reply to email output using HTML format.

By far the easiest perl module I've found to perform HTML emails is Mail::SendEasy -- a very easy interface to developing these, that has made the process incredibly simple.