Setting gmail to sync / push / notify on wifi only?
You can use an app like Llama or Tasker to activate sync only when on WiFi. If you turn off sync, that also turns off syncing of your calendar/contacts/tasks et al in your Google account.

The Gmail app should have an option to only download attachments via WiFi within your specific account options.