Add a function to send an alert to a usergroup