But once you have a good idea about how much you need to bend it and in which way, secure the pipe in a vice with the end going towards the back of the motor in the jaws. Then using a large screw driver, small pry bar or any other suitable tool inserted into the flange end facing the front of the motor bend it slowly. Heating it up shouldn't be necessary for the small amount of bend you'll probably need.
On the bright side, if it goes wrong, you can probably get another pipe section for like $5.