Boot loop data recovery Cyanogen mod 9, ClockworkMod Recovery 5.8.9.2

I recently plugged in my phone after the battery completely died over night and the phone is stuck in a bootloop. I left it trying to boot for 30 minutes and it's just stuck.

I've made a backup in clockworkMod recovery and am willing to flash the phone to a newer or the same version of cyanogen but I don't want to lose data.

Is there any way I can make sure my contacts and SMS messages are recovered?
I reinstalled android and lost all my data. Nothing else worked. :(