added email triggers