added email functionally emal contents still missing