**Preheat the Oven:** Set your oven to 375°F (190°C).
**Prepare Tomatoes:** Slice tomatoes and let them drain in a colander with salt for 15-20 minutes to remove excess moisture.
**Prepare the Filling:** In a separate bowl, mix green onions, basil, oregano, garlic powder, crushed red pepper, Cheddar cheese, Gruyère cheese, and mayonnaise until well combined.
**Assemble the Pie:** Place the partially baked pie crust on a baking sheet. Layer drained tomatoes in the crust and spread the cheese and mayonnaise mixture evenly over them.
**Bake:** Bake in the preheated oven for 25-30 minutes or until the top is golden brown.
**Serve:** Allow the tomato pie to cool before slicing.