Sometimes a person's gender is unclear from a name _ names like "Corey" or "Blake," are both common women's and men's names. If that is the case, do some investigating to determine gender from searching on LinkedIn or a company website. But if it remains ambiguous, simply write out the person's full name, dropping the title. For example, "Dear Corey Meyer."
For instance, in a typical job application, the problem is that the company or organization needs a position filled, and more importantly they need someone who can do the job well and help the organization achieve its mission (which may be more profits, or it may be to save children in Darfur or to end global warming or to cure cancer). You arouse their interest by telling them that you’re the right person for the position and by promising to help them achieve their mission.