Wix triggered email Via Velo struggles to send to other contacts than logged in user

Question:
I really struggle to send triggered emails, if its via the memebrs or the contacts route. I can only send emails to logged in user, if I change contactId, it never works. see snippet code below. I have gotten to a point where I mannualy get the contactId via a createorappend function, and then just insert the contactId as per below. what am I doing wrong? and how can I send emails to vrious contact Id’s of different users logged in?

Product:
const contactId = contactInfo.contactId;
console.log(“Attempting to send email to, firstname:”, firstName, “email:”, userEmail, “contactId”, contactId);

    await triggeredEmails.emailContact("UIqT89a", '679d6cad-dc25-4962-80c3-07116ae8a666', {
        variables: {
            ContactId: '679d6cad-dc25-4962-80c3-07116ae8a666'
        },
    });

What are you trying to achieve:
send email to different contactIds

What have you already tried:
All velo refrence documents and youtube videos I can find. Sometimes the email goes through, sometimes it does not, but only to logged in user, never to contactId of person not logged in.

You mentioned the following:

Sometimes the email goes through, sometimes it does not, but only to logged in user, never to contactId of person not logged in.

You can use emailContact() to send an email the current site visitor only. To receive the email, the site visitor must be subscribed or marked as ‘subscription not set’. If the site visitor is marked as unsubscribed, the email will not be sent.

Can you verify the status of the contacts you are sending a email to?