@extends('layouts.app') @section('title', 'Email Inbox') @php $inboxUrl = fn($type) => isset($employee) ? route('mails.filter', [$type, $employee->id]) : route('mails.filter', [$type]); $unread = $counts['countUnread'] ?? 0; $pending = $counts['send-mail'] ?? 0; $all = $counts['countAll'] ?? 0; $promotion = $counts['promotion'] ?? 0; @endphp @section('content')
Unread
{{ number_format($unread) }} Not opened yet
Awaiting reply
{{ number_format($pending) }} Flagged by AI as needing a response
All mail
{{ number_format($all) }} Every conversation
Promotion
{{ number_format($promotion) }} Filed as marketing

Pick a view to get started

Use the filters above to open a slice of the mailbox — by reply status, sentiment, department group, or read state. We check for new mail each time you open this page.

@endsection @push('scripts') @endpush