switch to turn off undisclosed recipients if there are no real To header

I added a boolean switch to turn off undisclosed recipients if there are no real To header.