Preheat the oven to 325 F. Mix all-purpose flour, cocoa powder, salt and baking powder in a bowl.
In another bowl, beat eggs and sugar with a whisk for about 4-5 minutes until combined, light and fluffy.
Melt chocolate; You can use a double boiler or pour chocolate chips into a microwave safe bowl (adding 1/8 tsp coconut oil is helpful to melt if you have it). Heat in 30 second increments stirring well in between until it is smooth, no longer. Pour melted chocolate, vegetable oil and vanilla into the bowl with your whisked egg mixture. Stir together.
Add dry ingredients and mix until you get a smooth, thick dough without lumps. Pour the batter into a non stick sprayed loaf pan. Do not fill higher than 1 inch of the top edge.
Place the baking dish in the oven and bake for approximately 50-60 minutes. The wooden skewer should be slightly damp when pulled out with moist crumbs attached.
Allow to cool in the pan on cooling rack for 10 minutes, then carefully remove and cool rest of the way out of the pan on a cooling rack. Serve as is or coated with frosting or ganache.