HTML message support, lookups, cleaning