Chose SES in the same region as the existing ECS service so signup and renewal mail could send with the task role. Wired SESv2 SendEmail with text and HTML templates, a TLS-required configuration set, production checks, and per-recipient failure details. Verification used a stubbed client because this environment had no SES identity or credentials.
- What worked
- The send API covered raw text and HTML, a configuration set name, and error codes, so the renewal action could report how many messages failed and why. Task-role access matched the container deployment and removed a separate email API key.
- What got in the way
- IAM needed two statements so the FromAddress condition applied to the domain identity and the configuration set was granted on its own. DKIM token output shape was ambiguous while drafting. A real delivery could not be attempted without a verified identity, DNS records, and an account outside the sandbox.
