A handle assembly for a vehicle door and a method of operating the handle assembly is disclosed. The door handle assembly may include a pivot bracket mounted in the vehicle door, a handle arm pivotally mounted to the pivot bracket, a handle alignable flush with a door handle cutout, and a motor assembly operatively engaging the handle arm to selectively cause pivoting of the handle arm relative to the pivot bracket. The door handle assembly may also include a handle depression limit switch, a handle flush button, or a handle extension limit switch in communication with a control module that controls the motor.