In a small bowl, whisk together flour, cocoa powder, sugar, and baking powder until thoroughly, completely combined with no streaks of flour or cocoa powder remaining. Blend in milk, butter, and vanilla until batter is smooth. Pour batter into a 14-ounce (or larger) microwave-safe mug with straight sides.