7f35297025
Naser confirmed all remaining QA Review / Draft rows (97 subtasks, 16
parent rollups) are done in substance: the site has been in production
for roughly a year. Overrides the conservative QA-Review/Draft mapping
from the prior takeover commit (0f9d12c) at his explicit instruction.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
1.8 KiB
1.8 KiB
id, title, status, date, parent
| id | title | status | date | parent |
|---|---|---|---|---|
| 2-5 | 2-5 Account Creation Email Notification | Done | 2026-09-27 | 2 |
Description
As an admin, I want welcome emails sent automatically when I create client accounts, So that clients receive their login credentials and know how to access the platform. Context: Integrates with: User creation flow, Laravel Mail; Technology: Laravel Mailable, queued jobs; Follows pattern: Laravel notification/mailable patterns. Full implementation history: docs/stories/story-2.5-account-creation-email-notification.md
Acceptance Criteria
- Email sent automatically on account creation
- Works for both individual and company accounts
- Queued for performance (async sending)
- No email sent for admin accounts
- Personalized greeting:
- Message: "Your account has been created"
- Login credentials:
- Login URL (clickable button/link)
- Brief platform introduction
- Contact information for questions
- Professional template with Libra branding
- Colors: Navy blue (#0A1F44) and Gold (#D4AF37)
- Libra logo in header
- Footer with firm information
- Mobile-responsive layout
- From: no-reply@libra.ps
- From Name: Libra Law Firm / مكتب ليبرا للمحاماة
- Reply-To: (firm contact email)
- Email in user's preferred_language
- Arabic email for Arabic preference
- English email for English preference
- All text translated
- Plain text version generated
- All essential information included
- Readable without HTML
- Email passes spam filters
- Links work correctly
- Password visible but not overly prominent
- Tests verify email sending
- Email queued with retry on failure (Laravel default: 3 attempts)
- Failed emails logged to
failed_jobstable - User creation succeeds even if email fails (non-blocking)