* adds mail templates for shared data actions * fixes bug where deleted compensations would be used for checking