send error mail if invalid json is posted
a bit more info in the error message