In a bowl mix the flour, ground coffee, cocoa powder, sugar and baking powder. Mix well. Add milk, egg, oil and vanilla. Stir again with a fork until a homogeneous dense mass. Pour the mixture into a greased mug and microwave on the highest mode for about 90 seconds. Serve with vanilla ice cream.