added email notification option