wixCRM send email

I get the promise that the email was sent, however, i receive no email.
Is there a known bug with the wixCRM send email or…?

hi,

where do you get the contactId from ?

Hello Ido!
“emailh” is being grabbed by an input, and then checked to see if there is an entry on the database.
If there is an entry it is grabbing the contactID, if not it creates a contact, saves the info in to the database.
Then the “email” function is called where it sends the email with the contactID.