@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')
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.