If you are go through customs to the "european" side of airport then consider taking the short train ride to Mainz and spending a couple of hours walking around the old part of the city. Going the other direction to downtown Frankfurt train station puts you in a seedy not so interesting district. FRA is a reasonably big airport with lots of shops but six hours is a long time.