added email functionality to past reports