Using a coffee grinder is important because grinding beans fresh enhances the flavor of the espresso. Pre-ground coffee loses its freshness quickly and may result in a less flavorful shot of espresso.