Remove unsafe characters from email & make xterm happy
