mail merge email only working in plain text

it works fine if i save the documents as PDF but if try and email it was either PDF, HTML or ODT it does not merge in the fields. it does send all the emails based on the data source.

any ideas please