murfel placed this task up for grabs. murfel added a comment.
You would probably need bs4 4.2.1 (depends on python >= 2.7.5-5~) so mf2py works correctly.
You can start with or take a look at my code: http://pastebin.com/acLfCrfD
TASK DETAIL https://phabricator.wikimedia.org/T78416
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: murfel Cc: Aklapper, jayvdb, murfel, tommorris, pywikipedia-bugs