@extends('base') @section('main') @php($formatTime = fn ($value) => \App\Services\Inbox\WorkerReview::time($value)) @php($label = fn ($value) => \App\Services\Inbox\WorkerReview::label($value))

{{ request()->host() }}

Worker review

Enter the Gmail address submitted as proof. Review the saved task activity before approving or recording payment.

@if($errors->any())@endif
@csrf
@if($email)

Results for {{ $email }}

@csrf

Includes Gmail dot/plus aliases and googlemail.com addresses for this mailbox. Only this domain's records are shown.

@else

Showing recent tasks on this domain. Search an email to see that worker's history.

@endif
@foreach(['total' => 'Tasks found', 'ready' => 'Completed · awaiting review', 'unpaid' => 'Approved · payment not recorded', 'paid' => 'Payment recorded'] as $key => $title)
{{ $title }}{{ $totals->$key }}
@endforeach
@if($email && $accountCount)
Saved accounts: {{ $accountCount }}
@foreach($accounts as $account)@endforeach
Account IDGmailAccount statusRegistered
{{ $account->id }}{{ $account->email }}{{ $account->revoked_at ? 'Access revoked' : $label($account->status) }}{{ $formatTime($account->created_at) }}
@if($accountCount > 20)

Showing the latest 20 account records.

@endif @if(!$totals->total)

An account exists, but no Repo task was found for this email. Account registration alone does not establish task completion.

@endif
@endif

{{ $email ? 'Worker task history' : 'Recent tasks' }}

All times are Africa/Casablanca. These are saved observations; opening this page does not start a new Gmail check or send messages.

@forelse($tasks as $task) @php($assignment = $assignments->get($task->assignment_id)) @php($state = $progress[$task->id]) @empty @endforelse
Gmail / createdPlatform / workerLast recorded message stateEstimated activityTask / checkingReview / paymentDetails
{{ $task->email }}
{{ $formatTime($task->created_at) }}
{{ $assignment?->platform === 'micro' ? 'Microworkers' : 'SproutGigs' }}
{{ $assignment?->platform === 'micro' ? 'Campaign' : 'Job' }}: {{ $assignment?->external_job }}
Worker: {{ $assignment?->worker_id }}
Worker attempt: {{ $assignment?->attempt_number ?? 1 }}
@if($assignment?->revoked_at)
Assignment revoked@endif
@if($state['work_count'] || $task->work_message_ids !== null){{ $state['qualifying'] }} / {{ $state['work_count'] }} qualify @else Awaiting message plan @endif
{{ $task->required_count }} required · {{ $state['received'] }} present @if($task->policy['require_thumbs_up'] ?? false)
👍 {{ $state['reaction_count'] }} / {{ $state['work_count'] }} verified @endif
Last checked: {{ $formatTime($state['last_checked']) }}
@include('inbox.partials.bulk-estimate', ['estimate' => $bulkEstimates[$task->id]]) {{ $label($task->status) }}@if(!$task->completed_at && $task->deadline_at->isPast())
Deadline passed@endif @if($task->check_status === 'unavailable')
Checking unavailable
{{ $label($task->check_error) }}@endif
{{ $label($task->review_status) }}
{{ $task->paid_at ? 'Payment recorded' : 'Payment not recorded' }}
Review activity
{{ $email ? 'No Repo tasks found for this email on this domain.' : 'No Repo tasks have been recorded yet.' }}
@if($tasks->hasPages()) @endif

Job and worker IDs in public links are platform claims. Verify them against your platform records before approving payment. Gmail state does not prove human reading, and API failures are not evidence of worker misconduct.

Estimated activity uses saved message-change times: 5 or more messages with the same change within 5 seconds means “Bulk activity”; other recorded read or Inbox changes mean “One by one.” — means no relevant changes were recorded. This is a rough estimate and never changes approval or payment.

@endsection