Preheat your oven to 400°F.
In a medium-sized bowl, whisk together the ricotta cheese, egg, salt, and pepper until well combined. Set aside.
In a 9x13-inch (or similar) casserole dish, pour in half of the marinara sauce and evenly coat the bottom of the dish.
Place frozen ravioli in a single layer until the dish is filled.
Spread the ricotta cheese mixture evenly over the top of the ravioli layer.
Add another single layer of frozen ravioli on top of the ricotta cheese.
Pour the remaining marinara sauce over the ravioli.
Sprinkle an even layer of mozzarella, parmesan cheese, and fresh basil on top.
Cover the dish with foil and bake for 45 minutes. Uncover and bake for another 5-10 minutes, or until the cheese is bubbling and slightly browned.
Garnish with additional fresh basil and serve immediately.