Added the send mail api and added the detail item information to the detail view.