Setting up the email to be sent every time a page next button is clicked