wired up the email form