added framework for aws email notification