Email Campaign Tool Features

I have been using reply.io but I'm hoping to get other suggestions from this community for my use case.

I want to find a tool where when I add a list to a campaign, I can combine multiple emails of similar domains into one email. Is this even possible?

For example if my prospect list has redacted redacted redacted ... then I want the option in my outreach tool that sends one email to Adam and John with the email body saying "Hello Adam and John ..." while sending a separate email to Jim. Are there any outreach tools that can accomplish this?