Initialize session in EmailNotification to stop a nullPointerException getting thrown.