@extends('layouts.onboarding', ['currentStep' => 4]) @section('title', __('Step 4')) @section('content')
{{-- Header --}}

{{ __('Configure auto-reply rules') }}

{{ __('Set when and how :app should respond to incoming emails', ['app' => config('app.name')]) }}

@csrf {{-- AI Auto-Reply Toggle --}}

{{ __('Enable AI Auto-Reply') }}

{{ __('Let :app automatically draft or send responses', ['app' => config('app.name')]) }}

{{-- Content shown when auto-reply is enabled --}}
{{-- Business Hours Schedule --}}

{{ __('Business Hours') }}

{{ __('AI will only auto-reply during these hours') }}

Timezone: {{ auth()->user()->activeWorkspace?->timezone ?? auth()->user()->timezone ?? 'UTC' }}

{{ __('All times shown above use your workspace timezone.') }}

{{-- Confidence Threshold Slider --}}

{{ __('Confidence Threshold') }}

{{ __("AI will only auto-reply when it's this confident in its answer") }}

{{ __('0% (Reply to everything)') }} {{ __('100% (Only sure answers)') }}
{{-- Threshold guidance --}}
Low threshold: AI will reply frequently, but may send inaccurate responses. Moderate threshold: Good balance for general use cases. Recommended: AI replies only when reasonably confident. High threshold: Very accurate, but fewer automated replies.
{{-- Send Mode --}}
{{-- Fully Autonomous --}} {{-- Approval Required --}} {{-- Suggestions Only --}}
{{-- Reply Delay --}}

{{ __('Wait before sending to seem more natural') }}

{{-- Disabled state message --}} {{-- Actions --}}
{{ __('Back') }}
@endsection