a newsletter application which uses tinymce for content creation. it should be possible to add a custom button to the tinymce toolbar which inserts custom tags into the text, which later will be replaced be data from a database.
e.g.
Good morning <?last name?>,