- add new column:
JSON unsubscribed_list_ids int[]
- On the unsubscribe page, when a user unsubscribes from a list, save that list ID in the above column. So, we know that this user manually unsubscribed from this list and no longer wants to receive any emails
- so, when adding through the API, we can add a param to say not to update list subscriptions if previously unsubscribed
Related: https://github.com/hyvor/core/issues/382