There should be no reason for HTML to go through as an attachment. Is it possible your call to *web/email has some of the arguments mixed up or not set correctly?
the 7th argument is message$ and should be something like "<html><head><title>..</html>"
The 8th argument is attachment$ and should be ""
The 13th argument is bodyencoding$ and should be "text/html"