Rejigger some email HTML and implement some of the data output.