I tested the page 3 times. The email sent 2 of them and failed the 3rd. I'm not sure why. Do you have access to your email server SMTP error logs?
It appears the code on the page is fine, but the SMTP server is rejecting the emails occasionally. I feel like the SMTP server error logs will be your best route to track down why.