So almost a half a year ago I switched to a vegan, gluten free diet and my dentist was pleasantly surprised at things looked. My gums were not inflamed, there was no bleeding, and the pockets had reversed themselves and were much less. One went from a six to a four. They asked me what I had done differently and I told them about the new diet.
So I guess the gluten affects everything including my gums. I had heard that gluten caused inflammation in the body and I guess they are affected as well. This diet can be very demanding but with results like this, it makes it so worth it.