In a bowl, combine the ricotta, Parmesan, and mozzarella cheeses with some fresh herbs, an egg, and a pinch of salt.
Boil the spaghetti in water until it's just under al dente.
In a baking dish, layer some of the cooked spaghetti at the bottom, followed by a layer of sauce and then a layer of the cheese mixture.
Repeat the layering process, finishing with a final layer of cheese on top.
Bake the dish until the cheese on top is melted and turns golden-brown.
Allow it to cool slightly before serving.
