Forward :list_management_options to SES v2 SendEmail#16
Merged
Conversation
Adds support for passing ListManagementOptions to SendEmail as a typed
API parameter, enabling SES subscription management. The value flows
through delivery settings, so mailers can set it via ActionMailer's
delivery_method_options:
default delivery_method_options: {
list_management_options: {
contact_list_name: "MarketingList",
topic_name: "Promos"
}
}
Previously the only path to enable subscription management with this
gem was via SMTP (which honors X-SES-LIST-MANAGEMENT-OPTIONS). The
SES v2 SendEmail API does not read that header from raw MIME — it
requires the typed parameter instead.
Contributor
|
Hi! Thanks for the contribution. The implementation looks good.. this got me thinking about the open requests: Let me chit-chat with the team and i'll circle back here :) |
jterapin
approved these changes
May 20, 2026
jterapin
left a comment
Contributor
There was a problem hiding this comment.
Hi! Thanks again for the contribution. I'm going to merge this in and build on it to extend support for additional SendEmail options.
I'll circle back here once a new gem version is released.
Contributor
|
@aginz-telebelly new version released: https://rubygems.org/gems/aws-actionmailer-ses/versions/1.2.0 |
Contributor
Author
|
@jterapin Thanks !! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds support for passing ListManagementOptions to SendEmail as a typed API parameter, enabling SES subscription management. The value flows through delivery settings, so mailers can set it via ActionMailer's delivery_method_options:
Previously the only path to enable subscription management with this gem was via SMTP (which honors X-SES-LIST-MANAGEMENT-OPTIONS). The SES v2 SendEmail API does not read that header from raw MIME — it requires the typed parameter instead.
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that my contribution is made under
the terms of the Apache 2.0 license.