Page MenuHomePhabricator

Enable staff to email authorized users of a resource when it moves to Library Bundle
Open, Needs TriagePublic


We're semi-regularly moving library partners from one authorization method over to the Library Bundle. We want a way to email all the users who had active authorizations for that resource to let them know about the change, which we're currently doing manually. This is cumbersome when the resource has a large number of authorized users and could easily lead to accidental data leaks.

Instead, it makes sense for us to be able to do this from the library itself, sending individual emails to users with templated text.

Email template


According to our records you have access to content from <Partner_Name> through The Wikipedia Library.

I just wanted to let you know that <Partner_Name> has agreed to move to the automated 'Library Bundle' method of access for Wikipedia editors. This means you'll no longer need to worry about renewing or extending your access to their resources through the library. It should remain available to you in the library indefinitely at

Only if the previous access method is not PROXY:

Your previous access method may continue to work for some time, but could stop working at any time.

Please let us know if you have any questions by contacting us at

The Wikipedia Library Team

Because we want to test whether Bundle-based access is working as intended before notifying users, we will need to implement some practice or code to save the list of authorized users when the partner is switched to Bundle (existing authorizations are currently deleted). Sending the email should then be done manually.