@extends('layouts.app') @section('title', 'Search') @section('page-title', 'Smart Search') @section('content')

Powered by Claude AI — search naturally: "emails about payment", "WhatsApp from Ahmed"

@if($query && count($results) === 0)

No results found

Try different keywords or connect more accounts.

@elseif(count($results) > 0)

{{ count($results) }} result{{ count($results) !== 1 ? 's' : '' }} for "{{ $query }}"

@foreach($results as $conv)
{{ strtoupper(substr($conv->contact_name ?: '?', 0, 1)) }}

{{ $conv->contact_name ?: $conv->contact_identifier }}

{{ ucfirst($conv->source) }} @if($conv->has_pending_reply) Reply needed @endif
@if($conv->subject)

{{ $conv->subject }}

@endif

{{ $conv->snippet }}

{{ $conv->last_message_at?->diffForHumans() }}

@endforeach
@else

Search your conversations

Use natural language to find anything across Gmail and WhatsApp.

@endif
@endsection