Smarter text parsing for email tag field