/** * Display a listing of the Email. * GET|HEAD /emails * * @return Response */ public function index() { $emails = $this->emailRepository->all(); return $this->sendResponse($emails->toArray(), "Emails retrieved successfully"); }