Email, PDF event functionality done 2