Preheat oven to 350°F (175°C).
Cook pasta shells in a large pot of salted boiling water until al dente, about 10 minutes. Drain and set aside.
In a large skillet over medium-high heat, cook ground beef until browned, about 5-7 minutes.
Add mushrooms to the skillet and cook until softened and liquid has evaporated, about 5 minutes.
Drain any excess fat and let the meat mixture cool slightly.
In a mixing bowl, combine ricotta, egg, garlic, and oregano.
Stir in the cooled beef and mushroom mixture.
Season with salt and pepper.
Spread half of the tomato sauce in the bottom of a 9x13 baking dish.
Stuff each shell with the beef and mushroom mixture and place filling-side-up in the baking dish.
Pour remaining sauce over the shells.
Sprinkle mozzarella evenly over the top.
Cover loosely with foil and bake for 20 minutes.
Remove foil and bake for another 5 minutes until cheese is melted and lightly browned.
Serve hot.