@php $lastmessageid = ''; @endphp
@foreach ($data as $replydata)
@php
$date = date('d-m-Y H:i', strtotime($replydata->created_at));
$lastmessageid = $replydata->id;
@endphp
{{ $replydata->email }} - {{ $date }}
{{ $replydata->message }}
@if ($replydata->user_id == $auth_id)
@endif
@endforeach