Add preliminary support for HTML messages viewer.