added email notification support