According to "man mail" -E Don't send messages with an empty body.
so, since -E doesn't take any option, it interprets "set" and "escape" as recipients.
I removed the "-E 'set escape'" from the command.Maybe that was introduced as a fix for the recent vulnerability in mail-whois-lines.conf?
If so it's not going to work.