01 - Preheat oven to 400°F. Lightly grease a medium baking dish with olive oil.
02 - Heat 2 tbsp olive oil in a large skillet over medium heat. Add onions and cook until translucent, about 3 minutes. Stir in garlic and cook for 1 minute more.
03 - Add sun-dried tomatoes and spinach to the skillet. Sauté until spinach is wilted, about 2 minutes.
04 - Pour in heavy cream and bring to a gentle simmer. Stir in Parmesan cheese, Italian herbs, red pepper flakes, salt, and black pepper. Simmer for 2–3 minutes until sauce thickens slightly.
05 - Add shrimp to the skillet, stirring to coat with sauce. Remove from heat.
06 - Transfer mixture to prepared baking dish. Top with shredded mozzarella.
07 - Bake uncovered for 15–18 minutes until shrimp are pink and cheese is melted and bubbly.
08 - Serve hot, garnished with extra Parmesan or chopped parsley if desired.