I need to send an email via sendgrid when a user's rate plan changes via stripe

Please help me understand. I need to send an email via sendgrid when a user’s rate plan changes via stripe. In backend workflow sendgrid does not work.

You can use a web hook, triggered when the subscription changes.

webhook is in backend worflow and sendgrid doesn’t work there.

Why not?

If you dynamically set the user’s email, it does not send a message

Well it should do (it certainly does if you do its correctly).

So you’ll need to debug why it’s not working (no one can help you much unless you share details of what’s going wrong).

But there’s a good chance it’s related to privacy rules, so I’d start by checking those.

If not, then first you’ll need to check your SendGrid logs, to see if the request is actually being received.

If it is, and the emails aren’t being sent, then the SendGrid logs should tell you what’s wrong.

If the request is NOT being received by SendGrid then it must be an error in your app - so then you’ll need to check your app’s server logs to see what’s going wrong.