Emails 0.4.2: Email archival works with any S3-compatible storage
Emails 0.4.2 fixes email archival to object storage in the PhoenixKit email module. A storage connection from Integrations now really supplies the credentials, so archives reach Cloudflare R2, Backblaze B2 or Tigris as well as AWS S3.
Archival only took credentials from Amazon SES connections. Pointed at an object storage connection, it got no credentials at all and uploads were signed with nothing, while the settings page reported archival as configured. The connection picker on the Email Tracking settings also listed only SES connections.
Now the picker lists object storage connections, their credentials and region are read correctly, and a connection with its own endpoint archives to that endpoint instead of AWS.
Full release notes: Emails 0.4.2
0.4.2 · 18 August 2026
Fixed
- S3 archival now resolves credentials from an
object_storageIntegrations connection, not onlyaws_ses.Archiver.s3_request_config/0routed through a credential getter that deliberately accepted onlyaws_ses(a leak guard, not an oversight — see the code comment), which predates core’sobject_storageconnection type: pointingemail_s3_integrationat one resolved to an empty credential map and archival silently signed with nothing while the settings page reported it as configured. Also fixes theobject_storageconnection picker on the Email Tracking settings page, which listedaws_sesconnections only, and a related region-key mismatch (object_storagestores it under"region",aws_sesunder"aws_region").object_storageconnections with a customendpointnow archive against it instead of AWS — the fix that actually makes Cloudflare R2, Backblaze B2, and Tigris work as archival targets, not only AWS S3.
Emails 0.4.2. Install or update: {:phoenix_kit_emails, "~> 0.4"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.