replaceDefinitions(htmlOrPlaintext, replacements, member) {
        // Do manual replacements with an example member
        for (const replacement of replacements) {
            htmlOrPlaintext = htmlOrPlaintext.replace(replacement.token, replacement.getValue(member));
        }
        return htmlOrPlaintext;
    }
Do a manual replacement of tokens with values for a member (normally only used for previews)

@param {string} htmlOrPlaintext
@param {import('./EmailRenderer').ReplacementDefinition[]} replacements
@param {import('./EmailRenderer').MemberLike} member
@return {string}