Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unified unsubscribe handling #494

Open
tillprochaska opened this issue Nov 6, 2020 · 1 comment
Open

Unified unsubscribe handling #494

tillprochaska opened this issue Nov 6, 2020 · 1 comment

Comments

@tillprochaska
Copy link
Collaborator

Right now, we don’t really handle unsubscribes from Telegram or email:

  • When a Telegram contributor deactivates the bot, the next time we try to send them a message, Telegram will raise an error. We then flag that message as blocked, and I think we’ll try to send them messages again and again.

  • When an email contributor clicks on an unsubscribe link in an email, we won’t be able to send them emails via Postmark anymore, i.e. the email jobs will fail.

Robert has implemented an option to manually deactivate a user in #464. Deactivated users then won’t receive broadcast messages anymore.

I’d suggest that we implement a generic solution that allows us to handle unsubscribes on any channel, in order to have a single unsubscribe implementation across all channels, and to unify the UX.

  • Implement a new /unsubscribe?jwt=abc route. The JWT encodes the user id. Opening the URL deactivates the user (and optionally allows to ask for a reason why they unsubscribed).

  • The confirmation page should include a link to reactivate the user in case of a mistake.

  • Every email includes the new unsubscribe link instead of the link dynamically injected by Postmark. We would need to contact Postmark support to get approval to use our own unsubscribe process.

  • Telegram already has an option to block bots, but I’m not sure if every contributor is aware. Also, contributors might simply want to opt-out of broadcast messages, but may still wish to receive direct messages from editors. Plus, we aren’t able to ask for feedback/a reason when they use Telegrams built-in block feature.

    I’m not 100% sure how we could implement this for Telegram, but one option would be to include an unsubscribe link in the welcome message we send to every user.

@mattwr18
Copy link
Contributor

@tillprochaska we introduced a way to unsubscribe for WhatsApp where a contributor just sends the keyword Abbestellen and they are marked as inactive. They can resubscribe by sending Bestellen

We have a PR to extend this feature to all messengers. See Extend unsubscribe feature to all messengers #1640.

For Postmark, we have a newer issue New unsubscribe screen for mail #1620, where I found the same information as you passed here, that we could include our own link and just inform Postmark so that they don't include the link by default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants