In reviewing the code, the problem of the HTML emails not being delivered properly ... is because the code was written for an older version of Zen Cart, which didn't support HTML emails at the time.

The HTML portion of the emails needs to be added to the module.