Preheat the oven to 375°F (190°C).
Slice the eggplants and sprinkle with salt. Let sit for 20 minutes.
Rinse and pat dry the eggplant slices.
Heat olive oil in a pan and sauté the eggplant until golden brown.
In a bowl, combine ricotta cheese, egg, oregano, basil, salt, and pepper.
Spread a thin layer of marinara sauce in a baking dish.
Layer eggplant slices over the sauce, followed by the ricotta mixture.
Add a layer of marinara sauce and sprinkle with mozzarella cheese.
Repeat layers until all ingredients are used, finishing with marinara and mozzarella.
Bake for 45 minutes until bubbly and golden. Let cool for 10 minutes before serving.