--- id: 8-9 title: 8-9 Admin Notification - New Booking status: QA Review date: 2026-09-27 parent: 8 --- ## Description As an admin, I want to be notified when a client submits a booking request, So that I can review and respond promptly. Using Mailable pattern to align with sibling stories (8.2-8.8):. Full implementation history: docs/stories/story-8.9-admin-notification-new-booking.md ## Acceptance Criteria - [ ] Sent immediately after successful consultation creation (same trigger as Story 8.3) - [ ] Consultation status: pending - [ ] Email queued for async delivery - [ ] First user with `user_type = 'admin'` in the database - [ ] If no admin exists, log error but don't fail the booking process - [ ] Subject line: "[Action Required] New Consultation Request" / "[إجراء مطلوب] طلب استشارة جديد" - [ ] "New Consultation Request" heading - [ ] Client name: - [ ] Requested date and time (formatted per admin's language preference) - [ ] Problem summary (full text, no truncation) - [ ] Client contact information: - [ ] "Review Request" button linking to consultation detail in admin dashboard - [ ] "[Action Required]" prefix in subject line (English) - [ ] "[إجراء مطلوب]" prefix in subject line (Arabic) - [ ] Email sent in admin's `preferred_language` - [ ] Default to 'en' (English) if admin has no preference set (admin-facing communications default to English)