If you try to get more complicated than that, there's a good chance you'll reject what would otherwise be a valid email so I usually let-- if we're going to send emails to people, I let whatever tool I'm using to send the email--that can break if the email is not valid. 