I discovered the same problem after I just updated contact form 7 to 5.1.1., it said I had a syntax error. For me it seems like the problem was that the tags used weren’t the same as in the form. I didn’t make the contact form, I have just taken over the page recently, and the person before me made up the tags in the form in our own language but used the english ones in the mailsection. When I changed [Your-email] to the tag used in the form I think i fixed the problem.
/New at this