WIP Notification Functionality

Progress in notifications, added templating and email sending.