Skip to content

Emails 0.10.0: IAM policies for each SES account, and open and click tracking you switch on

Emails 0.10.0 makes Amazon SES easier to set up safely: each account shows the exact IAM policies its key needs, and SES open and click tracking becomes a choice per account, off unless you tick it.

The IAM policies a key needs

Under Delivery Event Tracking, each Amazon SES account now has IAM policies for this account’s key. It holds two policies, each with a Copy button. The Setup policy is the one to attach before Setup Infrastructure: it can send, create the queues, the topic and the configuration set, and read the queues. The Running policy replaces it once the setup has succeeded: it sends and reads the queues, and can create nothing.

The policies are filled in for your site. Before the setup, the resource names come from the project title; after it, from what the setup saved, so an account set up under an earlier title gets a policy that matches its queues. When the setup succeeds, its message now says you can replace the setup policy with the running policy. And when AWS refuses the poller’s read of a queue, the log says the key needs the running policy and where to find it.

Open and click tracking is your choice

Each account has a new Track opens and clicks box, off unless ticked. With it on, Amazon SES adds a tracking pixel to every message and rewrites every link through its own redirect address, including the links in sign-in and password-reset mail. Save records the choice, and Setup Infrastructure applies it in AWS, to a new event destination or an existing one.

Smaller fixes

  • On PhoenixKit 3.5, a project title with no Latin letter or digit (for example “Фотки”) no longer names the AWS resources -email-queue and -emailing; the name falls back to myapp, as core 3.6 does.
  • Four Estonian and Russian translations that showed another message’s text are corrected, and one untranslated Estonian sentence is translated.

Upgrading

No migration. Emails 0.10 still works on PhoenixKit 3.5.0, but the policies and the Track opens and clicks box appear only on PhoenixKit 3.6.0 and later; on 3.5 the panel looks as before. One thing to do on a live site: an account set up before this release still tracks opens and clicks in AWS, although its box shows unticked. Run Setup Infrastructure once for that account to bring AWS in line with the box, or tick the box first if you want to keep the tracking.

Full release notes: Emails 0.10.0

0.10.0 · 15 November 2026

Works on PhoenixKit 3.5.0 as before; tested against 3.6.0. No migration. The IAM policies and the open/click choice below appear on PhoenixKit 3.6.0 and later (PhoenixKit.AWS.IamPolicy, SESv2.event_types/1); on 3.5.x the panel shows what it did.

Added

  • Each Amazon SES account shows the IAM policies its key needs. Under Delivery Event Tracking, an account has “IAM policies for this account’s key”: the setup policy (attach before Setup Infrastructure) and the running policy (replace it with this afterwards), each with a Copy button. Before the setup the resource names come from the project title; after it, from what the setup saved, so an account set up under an earlier title gets a policy that matches its queues. The success message of the setup says the key can now be narrowed.
  • “Track opens and clicks” per account, off unless ticked. With it on, SES adds a tracking pixel to every message and rewrites every link through its own redirect address, sign-in and password-reset links included. Saving records the choice and Setup Infrastructure applies it in AWS, to a new event destination or an existing one. ⚠️ An account set up earlier tracks opens and clicks in AWS although its box shows unticked; run the setup once to bring AWS in line with the box.
  • mix.exs takes PHOENIX_KIT_PATH, so the suite can run against a local core checkout, as the other modules’ suites do.

Changed

  • The project name the AWS resources are named from is core’s (InfrastructureSetup.project_name/0) where core has it; this package’s own copy stays for older cores.

  • When AWS refuses the poller’s read of a queue, the log now says what that means: the key needs the running policy, and where it is shown.

  • The poller’s log names the settings page “Emails Transactional”, as core does.

  • Dependencies updated: mix.lock now resolves PhoenixKit 3.6.0 and phoenix_kit_templates 0.2.5, and no longer carries ex_aws_ec2 (dropped by core 3.6.0).

Fixed

  • On PhoenixKit 3.5.x, a project title with no ASCII letter or digit (e.g. “Фотки”) no longer names the AWS resources -email-queue, -emailing: this package’s copy of the project name falls back to myapp, as core 3.6.0’s InfrastructureSetup.project_name/1 does. On 3.6.0 core’s own function is used.
  • Translations: four Estonian and Russian strings the catalogue served with another message’s text (the S3 archive errors and the retired-template note), and one untranslated Estonian sentence.

Emails 0.10.0. Install or update: {:phoenix_kit_emails, "~> 0.10"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.