Updated hook to let plugins modify subject as in advanced_notifications