Here's the answer:
“se solo tu avessi scritto un messaggio io non sarei stato così preoccupato”
Watch a real native speaker say it:
Here's how it sounds in a textbook:
You could also say:
- se solo avessi scritto un messaggio non sarei stato così preoccupato
Fun fact: the hundreds of thousands of people learning Italian with Memrise get this phrase correct 84.8% of the time!