Hello,
You can do that setting the headers on the template or using the MultiMerge class (this is the easiest solution to accomplish what you need). The MultiMerge class is available only in Corporate and Enterprise licenses.
After you buy a license please contact us again and we'll send you an example to show how to do that.
Regards.