Preheat oven to 350 degrees. Grease an 11×7-inch baking dish.
In a large bowl add oats, sugar, espresso powder, baking powder, cinnamon, nutmeg, ginger, and salt. Stir to combine.
In a separate bowl, add egg, milk, pumpkin, melted butter, and vanilla. Whisk together until combined. Pour into dry ingredients. Stir all ingredients together until just combined.
Pour into prepared baking dish and bake for 25-30 minutes. Serve warm with whipped cream, if desired.