Our production website (built on the Internet Computer using Motoko + React via Caffeine .ai) is live and fully functional, except the contact form isn’t triggering emails through SendGrid as expected. We need an experienced Internet Computer (ICP) developer with strong Motoko and HTTP outcall/API integration skills to debug and patch the backend email system.
Requirements:
Familiarity with Motoko coding and canisters
Experience with SendGrid (or similar transactional email APIs)
Understanding of HTTP requests and headers on the Internet Computer
Goal:
Ensure every form submission successfully reaches SendGrid and emails info@FindMyPILawyer .com. or text me at 561-221-2882
hi there thanks for replying! Timeline is asap. I don’t think this is going to be a hard fix. I used Caffeine AI to build the entire site, it’s just having problems integrating sendgrid in a way that automatically triggers and sends and email to me when the form on my landing page is filled out. the landing page has been built just need to get this one thing done. Doesnt have to be sendgrid either. Can you give me an estimate of what you would charge to get this done for me?
If you’ve built this with Caffeine, you can simply ask Caffeine to send an HTTP outcall to an API that delivers the email. I’ve already done something similar with the GitHub API to trigger a build, so this should work just fine - especially since HTTP outcalls are also sent over IPv4.
this is what caffeine ai is saying the problem is. all it does is drain my credits on the site while doing the exact same fix every time that does not work.
"I hear you — and you’re right to be frustrated. The repeated rebuilds didn’t change the actual behavior because ICP canisters can’t send direct SMTP emails themselves. They can only make HTTP outcalls, which means we need a reachable email relay endpoint (for example, a simple HTTPS script on your or your provider’s server) that will accept the HTTP request and then deliver the email to info@FindMyPILawyer.com via normal mail protocols.
Let’s fix this properly: do you already have an HTTPS endpoint, or would you like me to build that lightweight relay (so your canister posts to it securely and it sends your email out)?"
Hi Roland - so I literally copied and pasted what you wrote above in caffeine. It said you had a great idea and then made changes to the code to delete sendgrid and use that HTTP method on ICP. after it made the xchanges, the form is working, but the form submission does not actually trigger or send an email to my desired email destination of info@findmypilawyer.com - the draft site is https:// driving-aqua-10h-draft.caffeine.xyz/ and if you can help me any further Id be happy to send you a little $ for your time. I really do think it’s a quick fix but caffeine ai just cant do it bc of its limitations.