@extends('layouts.email') @section('title', 'Mailboxes — Ladill Email') @section('content')

Mailboxes

New mailbox
@if($error)
{{ $error }}
@endif @if(empty($mailboxes))

No mailboxes yet

Verify a domain, then create a mailbox like you@yourdomain.com.

Create mailbox
@else
@foreach($mailboxes as $m)

{{ $m['address'] }}

{{ $m['display_name'] ?? '' }} · {{ number_format(($m['quota_mb'] ?? 0)/1024, 0) }} GB

@php $st = $m['status'] ?? 'pending'; $badge = $st === 'active' ? 'bg-emerald-50 text-emerald-700' : ($st === 'failed' ? 'bg-rose-50 text-rose-700' : 'bg-slate-100 text-slate-600'); @endphp {{ $st }}
@endforeach
@endif
@endsection