I updated the page and fixed the issues. It was failing validation because the session needed to be started. This is a recent issue with the "simple question" captcha when using mysqli. You have to start the session right above the doctype tag or it won't save properly.
Then you also had inconsistent triggers for the three server behaviors. I made them all match.
You also had a recordset with the same name as your connection. That was overwriting the connection with your recordset and caused the insert to fail. Any reference to the connection after that would fail.
Anyway I think it is all working now. You may want to create a thank you message page and add the redirect to that page in the email server behavior so people know it worked.