I have updated the original Google Form script to not include fields that are empty. You can add a simple condition in the for loop:
for(var i in headers) {
if ( e.namedValues[headers[i]].toString() != "") {
message += headers[i] + ': '+ e.namedValues[headers[i]].toString() + "\n\n";
}
}