@component('mail::message') # Your Data Export Dear {{ $name }}, @if($hasFullExport) Below is a summary of the personal data we hold associated with your account in response to your **{{ $requestType }}** request. A complete machine-readable JSON export is attached to this email. @component('mail::panel') **Account** - **Name:** {{ $exportData['profile']['name'] ?? 'N/A' }} - **Email:** {{ $exportData['profile']['email'] ?? 'N/A' }} - **Registered:** {{ $exportData['profile']['created_at'] ?? 'N/A' }} @if(!empty($exportData['profile']['email_verified_at'])) - **Email verified:** {{ $exportData['profile']['email_verified_at'] }} @endif @endcomponent @if(!empty($exportData['sites'])) **Connected Sites ({{ count($exportData['sites']) }}):** @foreach($exportData['sites'] as $site) - {{ $site['name'] ?? 'Untitled' }}{{ !empty($site['domain']) ? ' ('.$site['domain'].')' : '' }}{{ !empty($site['created_at']) ? ' — Added '.$site['created_at'] : '' }} @endforeach @endif @if(!empty($exportData['statistics'])) **Activity summary** - **Total sites:** {{ $exportData['statistics']['total_sites'] ?? 0 }} - **Analysis runs:** {{ $exportData['statistics']['total_analysis_runs'] ?? 0 }} - **Recommendations generated:** {{ $exportData['statistics']['total_recommendations'] ?? 0 }} - **AI drafts:** {{ $exportData['statistics']['total_ai_drafts'] ?? 0 }} - **Audit log entries:** {{ $exportData['statistics']['audit_log_entries'] ?? 0 }} @endif The attached JSON file contains the complete export across all sections we maintain (profile, sites, recommendations, AI drafts, GSC metrics, audit logs, billing data, consent records, and more). Per GDPR Article 20 (right to data portability), the export is provided in a structured, commonly used, machine-readable format. @elseif(!empty($exportData['message'])) {{ $exportData['message'] }} @else No data was found for this request. @endif If you have questions about this data or your rights under GDPR / CCPA, please contact our support team. Thanks,
{{ $appName }} Team @endcomponent