Inbox 0.2.0: Internal mailboxes for PhoenixKit, now on core 2
Inbox 0.2.0 is the first release of PhoenixKit’s internal mail module on hex, and it runs on PhoenixKit core 2. Users of your Phoenix app get personal and shared mailboxes and can write to each other in a familiar webmail layout.
What the module does
Inbox is internal: messages go to mailboxes inside your app and are stored in your database. Nothing is fetched over IMAP or relayed outside.
- Personal mailboxes, one per user, created on first visit. A user who has never opened Inbox can still be written to by username or email.
- Shared mailboxes such as support or sales, with per-user
read,writeandadmingrants. - Folders: Inbox, Sent, Drafts, Spam, Trash and Archive. Seen, starred and folder are kept per recipient, so one person reading a group message does not mark it read for the others.
- Compose, reply and forward with quoted text,
Re:andFwd:subjects and threads. Drafts are saved as real messages. - Search over subject and body, and an unseen-only filter. Compose suggests recipients as you type.
- Notifications: a new message raises an in-app notification that links to it. If your app also runs the Emails module, a short “new message” email can be sent too; it is off by default.
In the admin, the Inbox section has Messages and Mailboxes pages, and New message opens the compose form. Access is the Inbox permission in the roles matrix.
Upgrading
Inbox 0.2 requires PhoenixKit ~> 2.0 and no longer installs against core 1.7. Core 2.0 starts its migrations from a V135 baseline and refuses to migrate a database below it. Check mix phoenix_kit.status before upgrading. A database below V135 must first be migrated with phoenix_kit 1.7.236, then moved to 2.0. Inbox itself has no new migration: enable it on the Modules page and run mix phoenix_kit.update for its tables.
Full release notes: Inbox 0.2.0
0.2.0 · 10 August 2026
Changed
-
⚠️ Requires
phoenix_kit ~> 2.0. The core pin moved to~> 2.0, so this release no longer resolves against core 1.7.Core 2.0.0 squashes the migration chain into a single
V135baseline and makes V135 the chain’s floor:mix ecto.migratenow refuses on a database below it rather than migrating. Checkmix phoenix_kit.statusbefore upgrading. A host below V135 must installphoenix_kit 1.7.236— the migration bridge, the last release carrying the full pre-squash chain — migrate until the reported version is at least V135, and only then move to 2.0.This package does not call migration internals, so the change is the pin itself.
Inbox 0.2.0. Install or update: {:phoenix_kit_inbox, "~> 0.2"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.