function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
StaciStaci 

check a box that adds user to recipient field of email alert

Has anyone automated email alerts?  If so, how? 

This is what I would like.  We have a group of users that rotate about every 3 months and they only want notifications for the worksite they are supporting at that time.  Is there a way for them to click a button or something so be added/removed from an email alert?
AnkaiahAnkaiah (Salesforce Developers) 
Hi Staci,

Salesforce does not automatically update the email alert recipient list to display the Users who are active in the system.
Inactive Users will still show up on the email alert if the email alert has not been updated.
The workaround is to simply edit the email alert and click on Save.
Upon the Edit screen, you should notice that only the active Users will show up in the 'Selected Recipients' list.
Upon saving, this will refresh the email alert to accurately display the recipients.
 
Please refer the below article from salesforce.
https://help.salesforce.com/s/articleView?id=000330085&type=1

If this helps, Please mark it as best answer.

Thanks!!