Most international airlines do not allowed once you hits your last month of pregnancy even if you have the letter from gynae.. But you can always check before you book..
It depends on the airline and you should be getting a clearance letter from doctor/gynae that you are fit to travel.