mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Moves session alert email side effect out of the account controller into a dedicated `Mails` listener that reacts to a new `SessionCreated` bus event. The event is now always dispatched on session creation; the listener owns all conditional logic (first session, sessionAlerts flag, email-link sessions, user email presence). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>