the redirect to the thank you page should not be set in the Insert behavior, it should be set in the Universal Email behavior.
when the redirect is not working, it usually means a php error is occurring, add the following code at line 1 to turn on error reporting:
<?php
error_reporting(E_ALL);
ini_set('display_errors','on');
?>