run the mail merge process for each mail merge reception and save the results to the separate files (Api/MailMerge);
replace the resulting document content after each mail merge action with the mail merge template document content in order to use it later for the next mail merge (Api/ReplaceDocumentContent).