parcelvoy / platform

Parcelvoy: Open source multi-channel marketing automation platform. Send data-driven emails, sms, push notifications and more!
https://parcelvoy.com
Other
188 stars 32 forks source link

Parcelvoy sends emails even after the user unsubscribed 😳 #442

Closed mattes3 closed 3 months ago

mattes3 commented 3 months ago

A user complained to me today that he still gets emails although he unsubscribed 2 days ago.

And indeed, in his event history, it says:

{
  "name": "unsubscribed",
  "channel": "email",
  "project_id": 2,
  "subscription_id": 5,
  "subscription_name": "Bohlen Labs Updates",
  "created_at": "2024-04-07T13:36:39.000Z"
}

But yesterday (April 8) and today (April 9), he still got 2 emails for that same subscription id no.5! 😳

Is it possible that Parcelvoy does not check the unsubscribed state when sending emails for a journey? They are not simple campaigns but they are part of a journey.

I double-checked the subscription ID of every campaign inside the journey. They all have subscription_id = 5, so they shouldn't have been sent to this user anymore.

pushchris commented 3 months ago

Thanks for calling this out! It does look the journey action was skipping the subscription status logic causing messages to go to users who had unsubscribed. The latest version resolves this issue, though we may continue to tweak. Internally we are still discussing how to best bubble up that a users journey is failing because of their subscription status.

mattes3 commented 3 months ago

I installed the new version. In the meantime, all journeys have terminated with an error because I changed the SES credentials to prevent them from sending out more emails. So I have to wait for new signups to see if the fix works.

mattes3 commented 3 months ago

No complaints anymore, I think we can close this.