Although I have data enabled as well, whenever my wifi switches off Gmail sync is disabled and I cant find a setting to change this behaviour.

Nexus 5, Android 4.4.4