refactored notifications to include email info