Script to modify email template based on recipient

I'm building a customized web service that accepts and acknowledges alarms. Using the Auto Operator in the nas probe I have rules setup that email different recipients. The email template I created includes a link to this web service with the Alarm ID as a URL query string variable. However, it is important that we keep track of who accepted/acknowledged the alarm from the email. And the email may be sent to all contacts of a particular account. I am wondering if it is possible, either by writing a script or another method, to process the email template and modify the link to the web service such that it also includes the recipient of the email.

I do not think you can change the template used by the emailgtw on a per-recipient basis. However, you can create a NAS script that formats the message however you want and then uses the action.email() function to send the message. This would definitely give you a way to vary the message contents by recipient.

Actually, if you're in the Setup section of the EmailGTW Probe you have the option of modifying the "default" email template, however, you can overwrite that for individual recipients by creating a new profile (right click and add in the section that's just under the "setup" section and select "Add" - the two default profiles you should see listed are Admins and Operator) from here you can overwrite both the "Setup" sections Subject along with the Body Template.