Coffee grinds

Hi. As a coffee addict I have a lot of grinds to dispose of. I know they're great for sprinkling around plants to protect against slugs and snails and for adding some grit to my clay soil, but a friend raised a doubt in my mind. 

It's been suggested that the caffeine can kill or at least stunt some plants. Does anyone know if coffee grinds are harmful to any plants or whether it's best to avoid sprinkling grinds around salads or veg?