@extends('base') @section('disable-scripts', '1') @section('styles') @endsection @section('main')

{{ $settings ? 'Mailbox tools' : 'Home · account overview' }}

{{ $settings ? 'Auto Token Check' : 'Active Gmail accounts' }}

Once daily · results for {{ request()->host() }} only.

@if(!$settings)Schedule settings @elseView home dashboard@endif
@if($settings)
@csrf

Daily schedule

One shared daily hour. Each website’s results stay private.

enabled)>

24-hour clock · Africa/Casablanca
For example, 05:00 is 5 AM and 17:00 is 5 PM.

Choose one hour for a daily check. Disabling pauses the checker after the current account; enabling resumes saved progress. Changing the hour will not add a second check on a day already scheduled.

One account at a time
Accounts are checked in ascending ID order. Websites take turns. There is a one-second gap after each account, with longer waits when Google requests it.
@endif

Automatic checks

{{ $dashboard['schedule']['enabled'] ? 'Enabled' : 'Disabled' }}

{{ $schedule->first_hour !== null ? sprintf('Daily at %02d:00', $schedule->first_hour) : 'Choose a daily hour in Schedule settings.' }} · Africa/Casablanca

{{ $schedule->next_run_at ? 'Next check: '.$schedule->next_run_at->setTimezone('Africa/Casablanca')->format('d M Y, H:i') : 'No automatic check scheduled.' }}

{{ $dashboard['cycle'] && str_starts_with($dashboard['cycle']['status'], 'completed') ? 'This website’s daily check is finished.' : ($dashboard['cycle'] ? 'This website has a check in progress or queued.' : 'Waiting for the next scheduled check.') }}

@foreach($dashboard['domains'] as $index => $domain)

{{ $domain['domain'] }}

This website only

Active in project now

{{ number_format($domain['active_now']) }}

Saved accounts currently marked active. Revoked accounts are excluded.

@foreach(['latest' => 'Latest completed check', 'previous' => 'Previous completed check'] as $key => $title)

{{ $title }}

{{ $domain[$key] ? number_format($domain[$key]['active']) : '—' }}

confirmed active

{{ $domain[$key] ? \Carbon\CarbonImmutable::parse($domain[$key]['finished_at'])->setTimezone('Africa/Casablanca')->format('d M Y, H:i') : 'No check yet' }}

{{ $domain[$key] && $domain[$key]['errors'] ? $domain[$key]['errors'].' checks could not be verified' : '' }}

@endforeach
@endforeach

Last 10 days

Today and the previous nine days · {{ request()->host() }}

{{ $dashboard['history']['from'] }} – {{ $dashboard['history']['to'] }}
@foreach($dashboard['history']['rows'] as $day) @php($check = $day['check']) @endforeach
DayStatusConfirmed activeChangeUnverifiedChecked
{{ $day['label'] }} @if($day['today'])Today@endif {{ $check ? ucwords(str_replace('_', ' ', $check['status'])) : 'No check' }} {{ $check && $check['finished_at'] ? number_format($check['active']) : '—' }} {{ $day['change'] !== null ? ($day['change'] > 0 ? '+' : '').number_format($day['change']) : '—' }} {{ $check ? number_format($check['errors']) : '—' }} {{ $check ? number_format($check['checked']).' / '.number_format($check['total']) : '—' }}
Page {{ $dashboard['history']['page'] }} of 2 · 5 days per page

Change compares completed daily results in this window. Partial checks show no change. Days use the scheduled date; older completed results are archived automatically.

Only active accounts are checked. Failed or timed-out checks stay separate from confirmed active results. Checks refresh saved credentials and read the Gmail profile; they do not read or change emails. Times use Africa/Casablanca.

@endsection