Skip to content

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_storage Integrations connection, not only aws_ses. Archiver.s3_request_config/0 routed through a credential getter that deliberately accepted only aws_ses (a leak guard, not an oversight — see the code comment), which predates core’s object_storage connection type: pointing email_s3_integration at one resolved to an empty credential map and archival silently signed with nothing while the settings page reported it as configured. Also fixes the object_storage connection picker on the Email Tracking settings page, which listed aws_ses connections only, and a related region-key mismatch (object_storage stores it under "region", aws_ses under "aws_region"). object_storage connections with a custom endpoint now 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.