Remove comma at end of line in sed on MacOS?
Looks like sed will not work on CRLF files (thanks @nohillside).
I fixed it by using cat in a terminal and copying and pasting the output into a new file.
Although the body of the text came from a Linux machine, odd that Mac Thunderbird should put CRLF in the To: line of the email.