Spray a large (12 ounces) mug with nonstick cooking spray. Stir together gluten-free flour, cocoa powder, sugar, and baking powder in the mug. Add egg, oil, and milk. Stir until smooth with a fork or mini whisk. Stir in mini-chocolate chips if using.