Use a template (e.g. Template to create the HTML-string given the content, then use any Mail-sending package to send it. But first, see if there does not already exist (it does ...) a bulk-mail program that can do the job completely and without any fuss.