first step in adding an email notification framework