Try temporarily adding the Power Control widget. It has a sync button on it that you can use to turn off sync. You can remove the widget when you're done. I'm not exactly sure what this controls, but it might do what you're looking for.
BTW, I had to turn sync ON to get the gmail app to autosync mail, so turning off this sync might have some unintended effects.