before stash
added email notifications