Preheat oven to 375°F (190°C).
Cook noodles until al dente.
Drain and set aside.
Heat olive oil in a pan.
Sauté onion and garlic until soft.
Add zucchini and mushrooms.
Cook until vegetables are tender.
Stir in spinach and cook until wilted.
Season with salt, pepper, basil, and oregano.
Mix ricotta cheese and egg in a bowl.
Spread tomato sauce in the baking dish.
Place three noodles over the sauce.
Add half the vegetable mixture on top.
Spoon half of the ricotta over vegetables.
Sprinkle with mozzarella and parmesan.
Repeat layers, ending with cheese on top.
Cover with foil and bake for 25 minutes.
Remove foil and bake for 10 minutes.
Let cool for 10 minutes before serving.