What it does
Reply is its own MaterialApp at /reply, sharing one EmailStore (a ChangeNotifier provided with Provider) between every screen. The store holds 15 built-in emails split into inbox, outbox and drafts, and derives six mailboxes from them — Inbox, Starred, Sent, Trash, Spam and Drafts — by filtering on starred and trashed ids; emails 7 and 8 start in the trash. On a phone the mailbox sits above an animated bottom app bar: tapping the Reply logo pulls up a bottom drawer to 40 % with the mailbox list and folders, and picking one sets selectedMailboxPage. Swiping a card right past 80 % moves it to the trash; swiping left past 40 % stars it in place (and on the Starred mailbox removes it). Tapping a card expands it into the full mail view with a container transform, and sets selectedEmailId, which turns the FAB into a reply button. The search icon swaps the mailbox for SearchPage with a fade-through, and the FAB opens ComposePage the same way. On desktop the same store drives a navigation rail with a folder list and keeps the open mail inside a nested navigator.