update notification email, refactor partials