@unless ($mailConfigured)
{{ __('SMTP is not configured — set it up at') }} {{ __('Settings → Mail') }} {{ __('before sending.') }}
@endunless
@csrf {{-- Left: compose --}}
{{ __('Start from a template') }}
@foreach ($templates as $key => $tpl) @endforeach
@error('subject')

{{ $message }}

@enderror

{{ __('Use the fields on the right to personalize the email — click one to insert it. An unsubscribe link is added automatically.') }}

@error('body_html')

{{ $message }}

@enderror
{{ __('Send a test to yourself first') }}
{{-- Right: fields + audience + send --}}
{{ __('Insert a field') }}

{{ __('Click to add it where your cursor is in the body.') }}

@foreach ($mergeFields as $mf) @endforeach
{{ __('Audience') }}
{{ __('Recipients:') }} {{ number_format($segmentCount) }}
{{ __('Opted-out users are always excluded.') }}

@if ($scaling) {{ __('Delivery runs on the background worker.') }} @else {{ __('Delivery runs in batches right after you send.') }} @endif

@push('scripts') @endpush