Rewritten into two classes one to generate the form another to send emails. Still need to do CSV class.