Cheating or not cheating

I've been married 6 years but only have lived the last 2 years together. We were apart due to immigration issues. While we were separated I made a strictly online friendship with a guy in a similar situation. We would constantly exchange emails but we never met in person nor spoke on phone. When I started living with my husband he ended up finding and reading these emails. He feels like I've cheated on him while in my heart I feel I did nothing wrong and just made a silly online friendship and used it to get advise from someone dealing with the same kind of problems. Would you all consider this as cheating?