[2025-11-03 16:10:34] [INFO] [EmailReports] ============================================================
[2025-11-03 16:10:34] [INFO] [EmailReports] Email Reports Automation System - Starting
[2025-11-03 16:10:34] [INFO] [EmailReports] ============================================================
[2025-11-03 16:10:35] [INFO] [EmailReports] ============================================================
[2025-11-03 16:10:35] [INFO] [EmailReports] Email Reports Automation System - Starting
[2025-11-03 16:10:35] [INFO] [EmailReports] ============================================================
[2025-11-03 16:10:35] [INFO] [EmailReports.Orchestrator] Initializing Email Reports Orchestrator
[2025-11-03 16:10:35] [INFO] [EmailReports.Orchestrator] Configuration loaded from environment
[2025-11-03 16:10:35] [INFO] [EmailReports.ClientDatabase] Loaded 30 clients from database
[2025-11-03 16:10:35] [INFO] [EmailReports.EmailGenerator] EmailGenerator config - AGENCY_NAME: Discover Web Solutions
[2025-11-03 16:10:35] [INFO] [EmailReports.EmailGenerator] EmailGenerator config - AGENCY_EMAIL: craig@discoverweb.com.au
[2025-11-03 16:10:35] [INFO] [EmailReports.EmailGenerator] Email template loaded from: c:/Apps/Email Reports/templates/email_template.html
[2025-11-03 16:10:35] [INFO] [EmailReports.Orchestrator] Orchestrator initialized successfully
[2025-11-03 16:10:35] [INFO] [EmailReports.Orchestrator] ============================================================
[2025-11-03 16:10:35] [INFO] [EmailReports.Orchestrator] STARTING FULL WORKFLOW
[2025-11-03 16:10:35] [INFO] [EmailReports.Orchestrator] ============================================================
[2025-11-03 16:10:35] [INFO] [EmailReports.DriveReader] Loaded existing Drive credentials
[2025-11-03 16:10:35] [INFO] [googleapiclient.discovery_cache] file_cache is only supported with oauth2client<4.0.0
[2025-11-03 16:10:35] [INFO] [EmailReports.DriveReader] Google Drive service initialized
[2025-11-03 16:10:35] [INFO] [EmailReports.Orchestrator] Auto-detected month: October
[2025-11-03 16:10:35] [INFO] [EmailReports.Orchestrator] PDF storage path: c:/Apps/Email Reports/data/pdfs/
[2025-11-03 16:10:35] [INFO] [EmailReports.Orchestrator] Max files per run: 50
[2025-11-03 16:10:35] [INFO] [EmailReports.Orchestrator] SEO folder ID from config: '1BpQKQcZ9YO0lJVKtywL0berbt-k9cjuc'
[2025-11-03 16:10:35] [INFO] [EmailReports.Orchestrator] Processing SEO folder: 1BpQKQcZ9YO0lJVKtywL0berbt-k9cjuc
[2025-11-03 16:10:35] [ERROR] [EmailReports.Orchestrator] Workflow failed: 'charmap' codec can't encode character '\u2192' in position 2: character maps to <undefined>

============================================================
PROCESSING PDFs FROM STORAGE
============================================================


Processing reports for: October


ERROR: 'charmap' codec can't encode character '\u2192' in position 2: character maps to <undefined>

Check the log file in logs/ for detailed error information.
