I found a pretty good amount of the the western internet to be non-functional in China. Simply because so many websites use scripts from Google, facebook, and the like.
To your specific question, I didn't try to use gmail while I've been in China. My work e-mail was not gmail based, but was...