Added success page, mailer, and attach code (not working)