Tokens only replaced for first contact, when multiple contact IDs supplied
Tokens are only replaced for the first contact - and then everyone else gets an email with the tokens from that contact! This caused some issues :-)
This is because the token replacement loop directly modifies $body_html and $body_text. When it loops for the next contact, there are no tokens left to replace.
I have a hacky fix for this, but am entirely confused by gitlab atm so I'll submit it when I can :-)