@extends('layouts.app') @section('content')

Your Inbox

@if(count($messages) > 0) @foreach($messages as $message) {{info($message)}} @endforeach
Subject From Date Snippet
{{ $message['subject'] ?? 'No Subject' }} {{ $message['from'] ?? 'Unknown Sender' }} {{ isset($message['date']) ? \Carbon\Carbon::parse($message['date'])->format('M d, Y H:i') : 'N/A' }} {{ $message['snippet'] ?? 'No Snippet Available' }}
@else

No messages found.

@endif
@endsection