Implements #300 — makes the "next action after single mail view" configurable in user preferences.
Adds AfterMailViewAction enum (nextMessage, showMailbox) to the user preferences model
Bumps DB schema to v36 with an after_mail_view_action column (default: nextMessage)
Reads the preference in EmailDetailScreen before each action (delete, archive, move, snooze, mark as unread) and either navigates to the next email or returns to the mailbox
Adds a new "After mail action" section in UserPreferencesScreen with a radio group
Test plan
Unit/widget/migration tests all pass (task check)
Fresh install: default is "Next message" behaviour — after delete/archive/etc., the next message opens
After switching preference to "Return to mailbox", actions navigate back to the email list instead
Existing preferences (menu position, mail view button position) are unaffected
## Summary
Implements #300 — makes the "next action after single mail view" configurable in user preferences.
- Adds `AfterMailViewAction` enum (`nextMessage`, `showMailbox`) to the user preferences model
- Bumps DB schema to v36 with an `after_mail_view_action` column (default: `nextMessage`)
- Reads the preference in `EmailDetailScreen` before each action (delete, archive, move, snooze, mark as unread) and either navigates to the next email or returns to the mailbox
- Adds a new "After mail action" section in `UserPreferencesScreen` with a radio group
## Test plan
- [ ] Unit/widget/migration tests all pass (`task check`)
- [ ] Fresh install: default is "Next message" behaviour — after delete/archive/etc., the next message opens
- [ ] After switching preference to "Return to mailbox", actions navigate back to the email list instead
- [ ] Existing preferences (menu position, mail view button position) are unaffected
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
Implements #300 — makes the "next action after single mail view" configurable in user preferences.
AfterMailViewActionenum (nextMessage,showMailbox) to the user preferences modelafter_mail_view_actioncolumn (default:nextMessage)EmailDetailScreenbefore each action (delete, archive, move, snooze, mark as unread) and either navigates to the next email or returns to the mailboxUserPreferencesScreenwith a radio groupTest plan
task check)🤖 Generated with Claude Code