Find and replace invalid parts of email addresses in a list.