Just flew from Miami to JFK. Because of the lack of personnel, the wait time was as long as the flight. First, American Airlines forgot to gas up the plane resulting in a half-hour delay. Then, we were put in a holding pattern. Add another half hour. (This was not American's fault). Next, there was no gate agent to make sure there was a jetway for us to deplane. Add another half hour. Finally, no one off-loaded luggage for an hour and fifteen minutes. With the exception of the holding pattern at the American terminal, really none of this should have occurred if there were a sufficient number of people to take care of routine tasks associated with flying.