Added controller code and mailer confirmation note