Added temp index page. Added email generation.