#!/bin/bash
echo "======================================"
echo "  📧 EMAIL SYSTEM QUICK CHECK"
echo "======================================"
echo ""
echo "Total emails generated: $(grep -c '^Subject: ' storage/logs/laravel.log)"
echo ""
echo "Recent emails:"
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
tail -50 storage/logs/laravel.log | grep -E "^(To:|Subject:)" | tail -10
echo ""
echo "To view full log:"
echo "  tail -200 storage/logs/laravel.log | less"
echo ""
echo "To resend all booking emails:"
echo "  php artisan bookings:send-emails --all"
echo "======================================"
