fix emails parsing