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."
The second version is clearer and thus preferable. Of course, there are exceptions to every rule. What if you are the head of the Global Finance Team? You may want to get your message across without calling excessive attention to the fact that the error was your team’s fault. The passive voice allows you to gloss over an unflattering point—but you should use it sparingly.