20% time is mostly used for side projects which aren't about coding or products anymore. But back in the day most new things Google was making came out of it.
It doesn't look like Gmail came out of 20% time, Paul Buchheit was asked to work on it so it looks like it was an assigned project not a spare time thing, and Google Docs was an acquisition (Writely).