← Tasks
Unsubscribe/unfollow links
Problem: We want to be able to do the following easily from a received email:
- turn off project update reminders for a single project
- unfollow a task
- unfollow a thread
- unfollow a update
Technical considerations
There need to be quite a few ‘unsubscribe’ style actions, how can we handle this with relatively simple code?
One option is to have all these actions with a common route:
/unsubscribe/all
/unsubscribe/project-reminders
/unsubscribe/task
/unsubscribe/thread
/unsubscribe/update
This could happen via a new unsubscribe controller, and have a single template.
Steps
-
Refactor: Existing unsubscribe flow -> new code structure -
Unsubscribe - project reminders -
Unsubscribe - task -
Unsubscribe - thread -
Unsubscribe - update