Inbox 0.6.0: More control over the embedded compose form
Inbox 0.6.0 gives apps that embed PhoenixKit’s compose form more say over it: you can limit its suggestions to your own data, use your own upload, and put your own button in its footer. The inbox’s own pages are unchanged.
Three new options for ComposeForm
member_suggestions={false}leaves the module’s own members out of the typed suggestions, so the form offers only your app’srecipient_sources. The checks on the send stay the same. An address typed for someone inside the application is still refused, and when one of your sources offers that person, the message asks to choose them from the list.own_upload={false}removes the form’s own Upload files control, for an app whoseattachment_pickeralready uploads. Picked files still go throughauthorize_attachments.- The
footer_startslot shows a control of your app, such as a Back button, at the start of the form’s last row. It receives%{sending: sending?}. A viewer without access to the form still sees it, so your page keeps its way back.
Fixes
- An open suggestion list outlived a change of
recipient_sources,scopeormember_suggestions, or an access refresh, so a removed source or a revoked permission could still supply a recipient. The list is now rebuilt after the access check. - Hiding the upload control while a file was still uploading could make the upload hang and block the send. The upload input now stays in place, hidden, until the upload finishes or is cancelled.
Upgrading
Inbox 0.6 needs PhoenixKit 3.5.0 or later (it was 2.64.0). There is no migration. Attachments.Maintenance.supported?/0 is removed, since every core this version accepts can relink and clean up stored files.
Full release notes: Inbox 0.6.0
0.6.0 · 15 November 2026
PRs #16–#18 and their Claude, Codex and Grok review fixes.
Upgrade notes
- Requires PhoenixKit core 3.5.0 or later (was 2.64.0). The pin is
>= 3.5.0 and < 4.0.0. 3.5.0 is the minimum core across the ecosystem. - No new migration.
Added
member_suggestionsonComposeForm(#16).member_suggestions={false}takes the module’s own members out of the typed suggestions, so the form offers only the host’srecipient_sources. The send’s recipient checks do not change. An address typed for someone inside is still refused, with “choose them from the list” when one of the host’s sources offers that person (by address, account,@usernameor shared-mailbox slug).own_uploadonComposeForm(#17).own_upload={false}removes the form’s own «Upload files» control, for a host whoseattachment_pickeralready uploads. Picks still go throughauthorize_attachments.- The
footer_startslot onComposeForm(#18) shows a control of the host’s (a «Back», say) at the start of the last row. It gets%{sending: sending?}. A viewer without access still sees the control, so the host’s window keeps its way back.
Fixed
- An open suggestion list on
ComposeFormoutlived a change ofrecipient_sources,scopeormember_suggestions, or an access refresh. A removed source or a revoked permission could still supply a recipient that could be picked. The list is now rebuilt with new ids, after the access check. - Hiding the upload control while a file was still uploading removed the input that LiveView routes the progress through, so the upload could hang and block the send. The input stays mounted, hidden, until the upload finishes or is cancelled.
Removed
Attachments.Maintenance.supported?/0and the relink task’s “this core cannot do it” exit. Every core this version admits hasStorage.relink_file/3anddelete_unreferenced_keys/1.
Inbox 0.6.0. Install or update: {:phoenix_kit_inbox, "~> 0.6"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.