Alert when transaction group becomes disabled

Is there a way to set up an alert email for when a transaction group becomes disabled?

Thank you!