The key is motivation and follow-through. If you write one email, you may or may not get an answer. It's only the larger projects (of which there are relatively few) that have too little time to help steer a motivated volunteer into a helpful path to contributing. So I would say the most important thing already mentioned is picking a project you are personally interested in, preferably something you do or will use.
All of the above are really useful, but if you really want to get involved, then Get Involved! Don't worry (as much) about the right or wrong way (there is better or worse, but few if any outright right or wrong ways to get involved).
As owner of several Open Source projects, I have next to no energy to try and motivate a potential contributor, when only two of the potential contributors' initial inquiries to which I have responded has ever actually done anything.
So (for a shameless plug), if you're interested, you could try: