added email notification