Drop queue- and feed-related functionality
Pass the class for notification mails an argument

Add an extra argument to sending notifications with the EmailMessage
class to use.
Don't send notifications to inactive users.
Code cleanup