Page MenuHomePhabricator

Replace The Wikipedia Library's email functionality with a combination of platform features and Echo notifications
Open, Needs TriagePublic

Description

We recently discovered a major issue with the library's emails (T347512). This was causing users to not receive emails from us, and we had very little visibility into the issue. Cloud VPS is not particularly well set up to handle sending emails reliably, and maintaining email infrastructure would be a major source of technical overhead for us. We have fixed the issue for now, but would like to move away from relying on emails as our notification and information sharing strategy.

This Epic will house all the steps that need to be taken for this to become a reality. We plan to spend maintenance time on this project, or prioritise it where we have gaps in our other work.

Our intended solution for each email is to make changes to the Library to integrate any information that was being shared in the email, and use TheWikipediaLibrary extension to send a notification about this information instead of an email. These steps don't need to happen concurrently, as we can adjust emails to contain placeholder messages similar to how the notification will ultimately read until we're ready to work on the on-wiki components.

Emails currently being sent by TWL
Full details can be found in this spreadsheet.

Tickets to be created.

EmailPurposeFeature ticketEcho ticket
Application: ApprovalNotify user that their application has been approved.
Application: RejectionNotify user that their application has been declined.N/A
Application: WaitlistedNotify user that their application has been added to a waitlist for when we have access available again.N/A
Access codeProvide user with their access code or login details for an approved application.
Renewal neededNotify user that their access to a collection will expire soon, but they can request an extension.
Application comment - userNotify user that their application has received a comment requiring their attention.N/A
Application comment - coordinatorNotify a coordinator that an application they reviewed or are responsible for has been commented on.N/A
Application comment - otherNotify someone who isn't the filing user or coordinator that an application they commented on has received another comment.N/A
Coordinator reminderNotify a coordinator that there are applications which require their review.
Contact Us formEnable users to easily email wikipedialibrary@wikimedia.org from the library.Already removed.N/A
Block hash changeNotify Wikipedia Library staff that a user's block status has changed and requires review.N/A

Tasks which would require modification
Mostly just changing 'email' to 'notification', but some require a bit more of a rethink.

Tasks which would be made redundant or fixed by this one

Related Objects