I have created a User Event Script for Invoice record to set CC recipient while sending email when "To be Emailed" checkbox is checked. Now, the issue is reply to email address is not getting set due to the script. Based on Invoice's subsidiary, reply to email address will set as Subsidiary's "Return Email Address". I have also tried using "options.replyTo" in email.send(), but it's not getting set.
Please Advice.