I hope the other lesson was the good email verification hygiene of making the user take an affirmative action and click a "verify email" button rather then send it unsolicited.
You essentially had an open public unauthed form that would send an email to any address you typed in it. Surely that alone raises some eyebrows.