add the email notification in index page