this could be pulled out into a function called `get_recipient_type(contact)` for readability