Repository navigation
saasmail 2.0 brings a new design, Gmail- and Outlook-style layouts, per-user Trash, Undo Send, and star, pin, archive and snooze. It also removes some old paths, so read this before upgrading.
Upgrading
Upgrade with npx saasmail@latest upgrade. It applies migrations 0048–0050 (per-user mail state, preferences and trash). Like every saasmail migration, they cannot be undone; rolling the Worker back leaves the new tables in place, and older code ignores them.
Breaking changes
npx saasmail adoptis removed, along withstatus --from <checkout>. Installs that were already adopted are unaffected. A clone or hand-made install that was never adopted must adopt with the 1.x CLI first (npx saasmail@1 adopt …), or keep updating its checkout with git (Forks and modified code).- Delete no longer deletes for everyone. In every layout, Delete moves a conversation to the user's own Trash, with Undo. Removing a person and all their mail for the whole team is now Delete forever or Empty Trash inside Trash, for admins only.
DELETE /api/people/:idis unchanged. GET /api/statscounts conversations, not messages.unreadCountandinboxUnreadnow count the unread conversations in the caller's Inbox, leaving out what that user archived, snoozed or trashed.inboxUnreadomits inboxes with no unread mail instead of returning0.GET /api/outboxrejects a bare timestamp cursor with a400. Pass back thenextCursorit returned./?search=links no longer filter the inbox. Use/?q=.- Some layout settings reset once. The conversation-list width, inbox sort and "Hide signatures in chat" now follow the account instead of the browser; values a browser saved before are not carried over.
Everything else in the API is additive. Sending, templates, sequences and webhooks are unchanged. See the CHANGELOG for the full list.
What's Changed
- chore(deps): bump zod from 4.5.2 to 4.6.6 @dependabot[bot] (#349)
- chore(deps): bump ip-address from 10.7.3 to 10.7.5 @dependabot[bot] (#351)
- chore(deps): bump dompurify from 3.4.16 to 3.4.17 @dependabot[bot] (#343)
- chore(deps): bump @codemirror/view from 6.43.14 to 6.43.15 in the codemirror group @dependabot[bot] (#344)
- chore(deps): bump body-parser from 2.3.0 to 2.4.0 @dependabot[bot] (#350)
- chore(deps): bump fast-uri from 3.1.8 to 3.1.9 @dependabot[bot] (#352)
- Cite-met restyle, Gmail- and Outlook-style layouts, colour themes, Trash, Undo Send, star/pin/archive/snooze @MahmoudHalat (#347)
- fix(send): deliver composer images as inline CID parts @choyiny (#341)
- chore(deps): bump @modelcontextprotocol/sdk from 1.32.0 to 1.32.1 @dependabot[bot] (#340)
- chore(deps): bump actions/download-artifact from 7 to 8 @dependabot[bot] (#330)
- chore(deps): bump @modelcontextprotocol/sdk from 1.31.0 to 1.32.0 @dependabot[bot] (#338)
- chore(deps-dev): bump vite from 7.3.5 to 7.3.7 @dependabot[bot] (#337)
- chore(deps): bump hono from 4.13.7 to 4.13.11 @dependabot[bot] (#336)
Maintenance
Full Changelog: v1.3.1...v2.0.0