Dorothy, what you have shown is how much it counts to show you care when people are troubled. It's not what you say, but the fact you show you care. Often bereaved people report that are they are avoided, often because people are afraid of saying the wrong thing, when all they needed to say was that they had no words, but how sorry they were. It can be very lonely when going through difficult times. You helped this person feel less alone.
Dulciana, just remember other people are too busy in their own heads to be worried about what you may have said and if on the off chance offence was taken it is a reactivation on to their own stuff, not you. After all why would anyone, unless they are in a very bad place, take offence to someone so kind? And don't read into people not replying to emails. Sometimes emails go astray or people are busy with no time to reply immediately and then forget! ( I'm thinking of my lovely DIL, who is hyperactive! She rarely replies to anything! I could take offence, but I know that is the way she is. It's not personal. When I do see her, our relationship is very comfortable and loving.)