Doe sit process correctly without CF running? (You can pause CF temporarily). It could be that the page response time is long enough that CF just issues a timeout.
The issue was that the email configuration was incorrect and it timed out due to that.
Thanks for your assistance, it had nothing to do with CloudFlare after all