email notification & hook handling and dashboard layout