Notify implementation, migration from custom notifications

This will send a digest instead of sending one email per publication.