Emotional affairs are destructive for relationships. Period. Just because the physical aspect is not involved doesn't mean they don't have similar (or worse) effects. What can you do to end the affair and reconnect with your husband?
There is frequently a "supplemental" component to an emotional affair. The feeling you're getting from someone else is one you should be getting from your partner - red flag. You're likely engaged in an emotional affair.
Most of the emotional affairs I've dealt with started innocently enough: connecting with an old friend on Facebook, texting with a friend from work, making a passing compliment to someone on Instagram (notice the social media theme here?). However, these friendships soon turn into something more.