This mail script can be used to CC all members of a group in the current record context.
Use case: CC all members of the assignment group for the current record.
Solution: Create the mail script as mentioned in cc all group members.js file and then call the mail script in you email notification using ${mail_script: your mail script name} in the notification body