generate msg-only html