I’m having an issue with Sendgrid inbound parse. I’m trying to make a user-to-user email service that anonymizes both users. Basically I’m routing the emails through Sendgrid, posting them to the Bubble API, then using a backend workflow to relay the email to the intended recipient anonymously.
I started out by following this post here: How I setup Sendgrid Inbound Parse
It got me to the point where I need to use the “Detect Data” function of API endpoint setup, but when I clicked it it wouldn’t actually detect anything. To fix this I did what JP29 recommends here: SendGrid Inbound Parse (i.e. I used the format from the “detect data” call for the Sendgrid webhook URL, with the extra “/initialize” at the end) and that actually worked. I was able to detect data and I was able to see any emails I sent while actively trying to detect data show up in the Sendgrid stats.
However, outside of actively running the detect data function, I can’t get the Sendgrid webhook to actually post to the API. I’ve tried removing the “/initialize” from the end, I’ve tried remaking the endpoint, I’ve tried running it with and without “/version-test/” and nothing seems to work. What’s more, in the Sendgrid stats page, it shows the webhook catching all the emails that come through during the “detect data” call, but nothing else I send shows up there.
How is it possible that Sendgrid and Bubble can communicate with each other when I’m trying to detect data, but anything I send when not detecting doesn’t even show up in Sendgrid stats, let alone reach the Bubble API?
Any help would be immensely appreciated. Please let me know if you need more detail about the issue.