<templateName> : The name of the desired e-mail template
<replacements> : Mapping between <identifiers> and <replacementSet>
<identifiers> : Set of e-mail addresses which have a specific <replacementSet>
<replacementSet> : A set of placeholders for <identifiers>
The result object of an e-mail template request
When requesting an e-mail template using #client.requestMailTemplate() the returned mapping contains a unique template per identifier-set. This means with one request a filled in template can be returned per single recipient or for all recipients together or for a combination of both.
The above request would return two templates, one for each set of identifiers put into the replacement map both having a different content, meaning the placeholders have been filled in with the contents of replacementSet1, respectively replacementSet2.