Preheat the oven to 180ºC. Cook the pasta shells according to the package instructions. Once cooked, drain the pasta and set them aside to cool.
Wilt the spinach in a pan with about 100ml water. Let the water boil and remove from the heat. Add the spinach and let wilt for a minute. Use a slotted spoon or tongs and remove the spinach from the water. Let the spinach cool and use a paper towel to squeeze out the excess water.
In a small bowl mix the mascarpone, red pepper sauce and wilted spinach. Once the shells have cooled, stuff them with the mascarpone filling.
To make the tomato sauce, sweat the onion and garlic in a tablespoon of olive oil until they are soft and translucent. Add in the dried herbs and mix well. Pour in the passata and vegetable stock and let simmer for about 10 minutes until the sauce has thickened slightly.
Spoon the sauce into the bottom of a skillet or oven-safe baking dish. Place the stuffed shells in the pan. Sprinkle the shredded mozzarella onto the stuffed shells and sprinkle with a few thyme leaves, but only if you have them. Thyme leaves are completely optional, I just had them for another recipe.
Bake in the preheated oven for about 15 minutes, until the cheese is melted and just starting to turn golden. Use a spoon to divide between plates.