Afraid to + infinitive
Afraid of + gerund/noun
You're afraid to do something because you're afraid of something happening
edit: your example would also make sense using "I'm not afraid to tell you how I feel".
It is quite possible to tell someone something unintentionally.
Interested in Language