0f9d12c3cf
Adds docs/tasks/ (16 epics + 102 stories converted to task/subtask files with statuses.md as the new status source of truth) and docs/ux-design.md (retrospective design-system reference), and points CLAUDE.md at them. docs/prd.md and docs/architecture.md are kept as BMAD wrote them; the legacy docs/stories/, docs/epics/, docs/qa/gates/ and .bmad-core/ stay in place as historical/traceability records, superseded but not deleted. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
47 lines
1.8 KiB
Markdown
47 lines
1.8 KiB
Markdown
---
|
|
id: 2-5
|
|
title: 2-5 Account Creation Email Notification
|
|
status: QA Review
|
|
date: 2026-09-27
|
|
parent: 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_jobs` table
|
|
- [ ] User creation succeeds even if email fails (non-blocking)
|