1# notifications Specification23## Purpose4TBD - created by archiving change add-email-notifications. Update Purpose after archive.5## Requirements6### Requirement: Assignment notification email7The system SHALL send an email to a task's new assignee within 60 seconds of the task being assigned to them.89#### Scenario: Task assigned to another member10- **WHEN** Alice assigns a task to Bob11- **THEN** Bob receives an email within 60 seconds containing the task title and a link to the task1213#### Scenario: Self-assignment14- **WHEN** a member assigns a task to themselves15- **THEN** no notification email is sent1617### Requirement: Notification preferences18Users SHALL be able to opt out of notification emails for each project they belong to, and the system MUST honor the opt-out for all subsequent notifications.1920#### Scenario: Opted-out user is assigned a task21- **WHEN** Bob has opted out of emails for project "Website" and is assigned a task in "Website"22- **THEN** no email is sent to Bob2324#### Scenario: Opt-out is per project25- **WHEN** Bob has opted out for project "Website" but not for project "Mobile"26- **THEN** Bob still receives assignment emails for tasks in "Mobile"27