I'm not totally clear on what's going on here. Are you seeing issues with the SMTP API? Is this code that you're having issues with? Can you update this topic with any error messages you're getting and also the raw data being sent to HubSpot (instead of just the code)?