@php $propertyTitle = $property?->title ?? ('Property #' . $lead->property_id); $ownerName = $owner?->userData?->full_name ?: $owner?->name ?: $owner?->email ?: 'Property Owner'; $location = collect([$property?->area?->name, $property?->state?->name])->filter()->implode(', '); $hasMarketingData = filled($lead->utm_source) || filled($lead->utm_medium) || filled($lead->utm_campaign) || filled($lead->utm_content); @endphp
New Property Lead

A new enquiry has been submitted

A website visitor has requested information for {{ $propertyTitle }}. Replies to this email go directly to the lead.

Lead Details

Lead ID#{{ $lead->id }}
Name{{ $lead->full_name }}
Email{{ $lead->email }}
Phone{{ $lead->phone ?: 'N/A' }}
Interest Type{{ $lead->interest_type }}
Budget Range{{ $lead->budget_range ?: 'N/A' }}
Move-in Date{{ $lead->move_in_date ? $lead->move_in_date->format('d M Y') : 'N/A' }}
Status{{ ucwords(str_replace('_', ' ', $lead->status)) }}
Submitted{{ $lead->created_at?->format('d M Y, H:i') }} UTC
@if($lead->message)

Lead Message

{{ $lead->message }}
@endif

Property Context

Property{{ $propertyTitle }}
Owner{{ $ownerName }}
Location{{ $location ?: 'N/A' }}
Address{{ $property?->address ?? 'N/A' }}
Price @if(filled($property?->currency) || filled($property?->price)) {{ trim(($property?->currency ?? '') . ' ' . ($property?->price ?? '')) }} @else N/A @endif
@if($referrer || $hasMarketingData)

Attribution

@if($referrer) @endif @if(filled($lead->utm_source)) @endif @if(filled($lead->utm_medium)) @endif @if(filled($lead->utm_campaign)) @endif @if(filled($lead->utm_content)) @endif
Referrer{{ $referrer->name ?? $referrer->email }}
UTM Source{{ $lead->utm_source }}
UTM Medium{{ $lead->utm_medium }}
UTM Campaign{{ $lead->utm_campaign }}
UTM Content{{ $lead->utm_content }}
@endif

Use reply or reply-all from your email client to continue the email conversation with this lead. This email is a notification only and does not sync replies back into the portal.

© {{ date('Y') }} SureRightStay  ·  All rights reserved  ·  This is an automated message