Eg:
http://cvs.openacs.org/cvs/openacs-4/packages/acs-tcl/tcl/html-email-procs.tcl?rev=1.2&view=auto
It's not been used for some time I believe.