added email alerts