@foreach($emails as $email)
@if($email['unread'])
@endif

{{ $email['from_name'] }}

{{ $email['time'] }}
{{ $email['subject'] }}

{{ $email['preview'] }}

@if(count($email['attachments']) > 0)
{{ $email['attachments'][0]['name'] }}
@endif
@endforeach
{{ $page }} / {{ $totalPages }}

Mailbox QR

Scan to access

@php $currentEmail = $selectedEmailId ? collect($emails)->firstWhere('id', $selectedEmailId) : null; @endphp @if($currentEmail)
{{ substr($currentEmail['from_name'], 0, 1) }}

{{ $currentEmail['from_name'] }}

{{ $currentEmail['from_email'] }}
Received {{ $currentEmail['time'] }}

{{ $currentEmail['subject'] }}

{!! $currentEmail['content'] !!}
@if(count($currentEmail['attachments']) > 0)

Attachments ({{ count($currentEmail['attachments']) }})

@foreach($currentEmail['attachments'] as $attachment)
{{ $attachment['name'] }}
{{ $attachment['size'] }}
@auth @endauth
@endforeach
@guest @endguest
@endif
@else

Select an email to read

Choose one of your disposable emails from the list to view its full content and secure attachments.

@endif