Bring a large pot of water to a rapid boil, add a very generous pinch of salt, then add shells. Cook for two minutes shy of what the package directions state for al dente, then drain and set aside. Toss shells with a very light drizzle of olive oil if you don't quite have the filling ready to go when they are drained.
kosher salt and black pepper, 1 (12 ounce) package jumbo pasta shells
As the water boils and the pasta cooks, preheat the oven to 375°F and prep the spinach. Warm 1-2 teaspoons olive oil in a skillet over medium heat, then add the spinach. It will seem like a ton of spinach, but it will shrink down a lot. Once the leaves start to wilt, add the garlic and red pepper flakes, if using. Cook for 30-60 seconds, just until fragrant. Set aside to cool briefly.
olive oil, 4 cups fresh baby spinach, 3-4 cloves garlic, pinch red pepper flakes
Spread marinara in a thin layer across the bottom of a 9x13-inch baking dish and set aside.
2-3 cups marinara sauce
In a large mixing bowl, combine the ricotta, 1 and 1/2 cups of the mozzarella, the Parmesan, egg, basil, oregano, and lemon juice. Add 1 teaspoon kosher salt and 1/4 teaspoon black pepper. Add the sautéed spinach and stir well to combine.
15 ounces ricotta cheese, 2 cups shredded mozzarella cheese, 1/2 cup grated Parmesan cheese, 1 egg, 2 teaspoons dried basil, 1 teaspoon dried oregano, juice of 1/2 lemon
Spoon or pipe the spinach-cheese filling into each pasta shell. Place the stuffed shells over the marinara in the baking dish, tucked close together with the open side up.
Sprinkle shells with the remaining 1/2 cup mozzarella. Cover with foil and bake for 25-30 minutes, then remove foil and broil very briefly to gently brown the top. Watch carefully as it broils: this should only take a minute or two. Garnish with fresh basil or parsley, if desired, and serve.