When your letter is to more than one person, write out all of their names separately, separating them with commas. For example, "Dear Mr. Hobbes, Ms. Luxe, and Mr. Hopman." For married couples, if one person in the couple has changed his or her name, you only need to use the last name once. For instance, "Dear Mr. and Mrs. Smith."
While a simple "Hi," "Hello," or even "Hey" is appropriate in casual correspondence, a more formal salutation is appropriate when you are emailing about a business_related matter, such as a cover letter, letter of recommendation, or inquiry letter.