reddit/reddit-companion — pull request #35 by blueshiftlabs (2012-02-20 20:48:43+00:00)
Title: Add support for modmail notifications.

- Factor out mailNotifier into a class Notifier.
- Add a modmailNotifier to check modmail.
- Replace message-checking algorithm with a recursive
traversal algorithm to gather new replies to mod messages.
- Add modmail checking to mailChecker.
- Add checkModMail option to options.html.

*I think I finally got this right. Sorry about the spamminess.*