added an enabled flag in the email alerts