Skip to main content

Amazon SES Configuration

Gamanza Engage can send CRM email through your own Amazon Simple Email Service (SES) account. You keep the sending domain, the IP reputation, and the AWS credentials. Gamanza Engage uses those credentials to send, and it selects a configuration set on every message so marketing and transactional mail leave from the correct dedicated IP pool.

Complete the steps below in the AWS Region where SES will send. At the end of this page, send Gamanza Engage the configuration set names, the AWS Region, and the IAM access keys. Step 6 connects Amazon SNS so the CRM can record deliveries, bounces, opens, clicks, and the other send events.

Amazon Web Services bills every SES feature on this page to your AWS account. Gamanza Engage does not receive that bill and does not accept responsibility for it.

Why two IP pools​

Mailbox providers score each sending IP address on its own. Complaints, bounces, spam-trap hits, and low engagement on that IP decide whether later mail from it reaches the inbox, the spam folder, or is deferred.

Marketing and transactional mail do not share that risk well:

  • Marketing mail is promotional and usually goes out in large bursts. Recipients complain, ignore, or unsubscribe more often.
  • Transactional mail is operational: account confirmation, password reset, deposit and withdrawal notices, and similar player messages. Volume is lower, players expect the message, and a delay or a spam-folder placement blocks the player.

If both streams share one IP, a marketing campaign that draws complaints can damage the reputation used for password resets and other operational mail. Two pools keep those reputations apart.

Dedicated IPs (managed) is the scaling mode for this setup. Choose Managed (auto managed) and leave Dedicated IP addresses empty. SES decides how many addresses the pool needs, warms each one per mailbox provider, and adds or removes capacity as volume changes. You do not assign individual addresses yourself. SES allocates the first dedicated IP only after the pool has sent on the order of hundreds of messages over a few days. Until then, and again when volume spikes or drops sharply, SES can send that mail through the shared IP pool. The dedicated IP page covers warmup and when mail stays on the shared pool. Read it before you rely on a new pool for player mail.

AWS charges for dedicated IPs are your decision

Dedicated IP pools are a paid Amazon SES feature. AWS bills them on your account, on top of the normal charge for sending email. What you pay depends on your SES pricing plan, the Region, and how much mail you send. Creating two pools does not by itself set that price. Enabling the feature can still add a monthly charge and a per-message charge, including while SES is still sending through the shared IP pool.

Before you create a pool, read the current Amazon SES pricing and Dedicated IP addresses (managed). Compare managed dedicated IPs with standard dedicated IPs and with the shared SES pool, and confirm the cost at your expected volume. Prices change. This guide does not quote them.

You make this decision. Gamanza Engage does not choose the SES features on your account, does not control AWS pricing, and does not accept responsibility for charges that result from this setup. If you are unsure, speak with your AWS account team or AWS Support before you continue.

Step 1 — Create the dedicated IP pools​

In the Amazon SES console, open Configuration, then Dedicated IPs. On the Managed IP pools tab, choose Create Managed pool.

On Create IP pool:

  1. Set Scaling mode to Managed (auto managed).
  2. Enter the pool name. Names allow up to 64 characters: lowercase letters, numbers, periods, underscores, and dashes.
  3. Leave Dedicated IP addresses empty. SES provisions addresses after the pool exists and you start sending.
  4. Leave Associated configuration sets empty. You attach each set in the next step. After a pool exists, SES only lets you change that link from the configuration set, by editing its Sending IP pool.
Create IP pool with Managed scaling mode selectedCreate IP pool with Managed scaling mode selected

Create two pools. The names below match the console example. You can choose different names, as long as one pool is used only for marketing and the other only for transactional mail.

PoolExample nameUsed for
Marketingmarketing_poolPromotional and campaign email
Transactionaltransactional_poolOperational player email

A new managed pool lists 0 dedicated IPs. That is expected. SES adds addresses only after sending volume meets the threshold described in Dedicated IP addresses (managed).

Managed IP pools listing marketing_pool and transactional_poolManaged IP pools listing marketing_pool and transactional_pool

Step 2 — Create one configuration set per pool​

A configuration set is the name Gamanza Engage passes when it sends a message. SES uses that set to choose the IP pool. Create one set for each pool. See Using configuration sets in Amazon SES.

In the Amazon SES console, open Configuration, then Configuration sets, and choose Create set.

For the marketing set:

  1. Configuration set name. Up to 64 characters: letters, numbers, underscores, and dashes. Example: MarketingSet.
  2. Sending IP pool. Select marketing_pool.
  3. Leave Use a custom redirect domain unchecked unless Gamanza Engage has asked you to host open and click tracking on your own domain.
Create configuration set MarketingSet linked to marketing_poolCreate configuration set MarketingSet linked to marketing_pool

Repeat the same form for transactional mail. Example name: TransactionalSet. Sending IP pool must be transactional_pool.

When both sets exist, the list shows one set per pool:

Configuration sets MarketingSet and TransactionalSetConfiguration sets MarketingSet and TransactionalSet
warning

Send Gamanza Engage the configuration set names exactly as they appear in SES, including capitalization. The CRM stores those names and sends them on every email. Do not rename a configuration set after it has been configured in the CRM. If a name must change, contact the Gamanza Engage team before you edit it in AWS and wait until both sides switch together. A mismatch means SES will not apply the pool you intended, and email delivery cannot be guaranteed.

Step 3 — Confirm the sending domain​

Gamanza Engage sends from a domain identity that is already verified in your SES account. Open Configuration, then Identities, and confirm the domain you will send from has identity status Verified.

SES identities list with a verified domainSES identities list with a verified domain

SES refuses to send from an identity that is not verified. Verification alone does not keep mail out of spam. The domain also needs the authentication records below. Publish them in DNS before the first campaign. Amazon documents each one:

RecordWhat it proves
Domain verificationThe domain identity in SES is Verified. SES uses this as the sending identity.
DKIM (Easy DKIM)Three CNAME records. SES signs each message so mailbox providers can check that the mail really came from your domain. Use 2048-bit Easy DKIM.
Custom MAIL FROMA subdomain such as mail.yourdomain.com, with an MX record pointing at SES feedback (feedback-smtp.<region>.amazonses.com) and an SPF TXT record on that subdomain. This aligns the envelope sender (Return-Path) with your From domain.
SPFTXT record on the custom MAIL FROM subdomain: v=spf1 include:amazonses.com ~all. Mailbox providers check SPF against the MAIL FROM domain, not the visible From address.
DMARCTXT record on _dmarc.yourdomain.com. DMARC passes when DKIM or SPF succeeds and that method aligns with the From domain. Start with p=none while you confirm reports, then move to p=quarantine or p=reject.

BIMI (a logo in the inbox) is optional. It is not required for delivery, and it only applies after DMARC is at enforcement (p=quarantine or p=reject).

The From address configured in the CRM must use this verified domain. Verifying the domain also authorizes its email addresses and subdomains, so you do not verify each player-facing address separately.

Step 4 — Leave the SES sandbox​

New SES accounts start in the sandbox. While the account is in the sandbox, SES can send only to verified recipient addresses, and the account is limited to 200 messages in a 24-hour period and 1 message per second. Player campaigns cannot run under those limits. See Request production access (moving out of the Amazon SES sandbox).

While the account is in the sandbox, the SES console shows a warning: Your Amazon SES account is in the sandbox. Choose View Get set up page, then Request production access. In the request, describe both mail types you will send (marketing and transactional), the website players use, and how you process bounces and complaints. Gamanza Engage receives those events on the Amazon SNS HTTPS subscription in Step 6.

Production access is granted per Region. Request it in the same Region as the identities, pools, and configuration sets.

Step 5 — Create API credentials​

Gamanza Engage calls SES from outside your AWS account, so it needs an IAM access key for a dedicated user. See Managing access keys for IAM users.

  1. Open the IAM console and go to Users.
  2. Create a user for this integration. Do not reuse a personal administrator user.
  3. Attach the AmazonSESFullAccess managed policy. A production account can use a custom policy limited to sending in this Region instead. Confirm the allowed actions with Gamanza Engage before you replace AmazonSESFullAccess, so the CRM can still send.
  4. Open the user, go to the Security credentials tab, and choose Create access key.
  5. Select Application running outside AWS.
  6. Copy the Access key ID and the Secret access key. IAM shows the secret only once. If you lose it, create a new key and send the new pair to Gamanza Engage.

Also copy the AWS Region where SES is running (the Region selector in the SES console). Identities, IP pools, and configuration sets exist in that Region only. A key from the right account pointed at the wrong Region cannot send.

You can confirm the key is valid with the AWS CLI:

aws sts get-caller-identity

Configure the CLI with this access key, secret, and Region first. A successful call shows the account and the IAM user. It confirms the key. It does not send a test email.

Step 6 — Publish email events to Amazon SNS​

The CRM measures campaign performance from Amazon SES sending events: deliveries, bounces, complaints, opens, clicks, and the rest of the event types below. SES can publish those events only through a configuration set. You attach an Amazon Simple Notification Service (SNS) topic to each configuration set, and you subscribe the Gamanza Engage HTTPS endpoint to that topic.

Create the topic in the same AWS Region as the SES identities, IP pools, and configuration sets. SES cannot publish to an SNS topic in another Region.

Amazon SNS bills your AWS account for the notifications it delivers to that endpoint. Read the current Amazon SNS pricing before you create the topic. Gamanza Engage does not control that price and does not accept responsibility for the charges. See Set up an Amazon SNS event destination for event publishing.

Create a Standard topic​

Open the Amazon SNS console and choose Topics, then Create topic.

  1. Set Type to Standard. SES does not support FIFO topics, and FIFO topics cannot use an HTTPS subscription. The topic type cannot be changed after the topic is created.
  2. Enter a name, for example SES-Webhook-Topic. The name can contain letters, numbers, hyphens, and underscores.
  3. Leave Display name and Maximum message size at the defaults shown on the form.
Create SNS topic with Standard type selectedCreate SNS topic with Standard type selected

Choose Create topic. See Creating an Amazon SNS topic.

Subscribe the Gamanza Engage endpoint​

On the topic, or from Subscriptions, choose Create subscription.

  1. Topic ARN. Select the Standard topic you just created.

  2. Protocol. Select HTTPS.

  3. Endpoint. Enter the analytics URL for your Gamanza Engage instance. Replace {customer-instance} with the instance name Gamanza Engage gave you:

    https://platform-api-{customer-instance}.gamanzaengage.com/rx-api/analytics/v1/ses/event/email

  4. Leave Enable raw message delivery unchecked. This is required. With raw delivery off, SNS sends the standard notification JSON and places the SES event in the Message field. Gamanza Engage reads that envelope. If raw delivery is enabled, the platform does not receive the payload it expects and campaign analytics are not recorded.

  5. Leave Subscription filter policy empty. A filter drops event types before they reach the CRM.

Create HTTPS subscription with raw message delivery uncheckedCreate HTTPS subscription with raw message delivery unchecked

Choose Create subscription. The form warns that the subscription must be confirmed. SNS immediately sends a SubscriptionConfirmation message to the endpoint above. When the CRM receives that request, it confirms the subscription. You do not confirm it from your own logs or from a browser.

Open Subscriptions in the SNS console. The status must change from Pending confirmation to Confirmed. SES does not deliver events to an unconfirmed HTTPS subscription.

If the status stays Pending confirmation, the confirmation request was missed. Select that subscription and choose Request confirmation. SNS sends the confirmation request to the same endpoint again, and the CRM confirms it when the new request arrives. Refresh the subscription until the status is Confirmed. If it is still pending after another request, contact Gamanza Engage before you send campaigns. See Confirming an Amazon SNS subscription.

Route each configuration set to the topic​

Repeat this on both configuration sets, MarketingSet and TransactionalSet (or the names you created). One topic receives both. Each configuration set needs its own event destination.

Open Configuration, then Configuration sets, and choose the set. Open the Event destinations tab and choose Add destination.

Event destinations tab with Add destinationEvent destinations tab with Add destination

On Select event types, select every event. The CRM uses the full set for campaign analytics:

  • Sending and delivery: Sends, Rendering failures, Rejects, Deliveries, Hard bounces, Complaints, Delivery delays, Subscriptions
  • Open and click tracking: Opens, Clicks
All SES event types selected, including opens and clicksAll SES event types selected, including opens and clicks

Choose Next. On Specify destination:

  1. Destination type. Amazon SNS.
  2. Name. A name for this destination. Letters, numbers, dashes, and hyphens only. No spaces. Use a different name on each configuration set, for example marketing-events and transactional-events.
  3. Event publishing. Leave Enabled checked. If this is cleared, SES stores the destination and does not publish.
  4. SNS topic. Select the Standard topic from this step, for example SES-Webhook-Topic.
SNS destination enabled and pointed at SES-Webhook-TopicSNS destination enabled and pointed at SES-Webhook-Topic

Choose Next. On Review, check that every event type is listed, the destination type is Amazon SNS, event publishing is Enabled, and the SNS topic is the one you subscribed. Then choose Add destination.

Review of the SNS event destination before adding itReview of the SNS event destination before adding it

Do the same for the other configuration set. Same topic, same event types, a different destination name.

Allow SES to publish to the topic​

Selecting the topic in SES does not always grant SES permission to publish. Without that permission, the destination exists and no analytics events arrive.

In the SNS console, open the topic, choose Edit, and expand Access policy. Add the statements below to the existing policy. Do not replace the whole policy. Replace REGION, ACCOUNT_ID, the topic name, and both configuration set names with your own values. Add one statement per configuration set.

{
"Effect": "Allow",
"Principal": {
"Service": "ses.amazonaws.com"
},
"Action": "sns:Publish",
"Resource": "arn:aws:sns:REGION:ACCOUNT_ID:SES-Webhook-Topic",
"Condition": {
"StringEquals": {
"AWS:SourceAccount": "ACCOUNT_ID",
"AWS:SourceArn": "arn:aws:ses:REGION:ACCOUNT_ID:configuration-set/MarketingSet"
}
}
}
{
"Effect": "Allow",
"Principal": {
"Service": "ses.amazonaws.com"
},
"Action": "sns:Publish",
"Resource": "arn:aws:sns:REGION:ACCOUNT_ID:SES-Webhook-Topic",
"Condition": {
"StringEquals": {
"AWS:SourceAccount": "ACCOUNT_ID",
"AWS:SourceArn": "arn:aws:ses:REGION:ACCOUNT_ID:configuration-set/TransactionalSet"
}
}
}

Save the topic. If a statement for that configuration set is already present, leave it. The full procedure is in Set up an Amazon SNS event destination. Event field examples are in Amazon SNS event destination examples.

Analytics are in place when all three of these are true:

  • The HTTPS subscription status is Confirmed, and raw message delivery is still off.
  • Both configuration sets have an enabled SNS destination that includes every event type.
  • The topic access policy allows ses.amazonaws.com to publish for both configuration sets.

What to send to Gamanza Engage​

Send all of the following together. The configuration set names must match SES character for character.

ValueExample
Marketing configuration set nameMarketingSet
Transactional configuration set nameTransactionalSet
Access key IDFrom the IAM user created above
Secret access keyFrom the same access key. Share it through the secure channel your Gamanza Engage contact provides.
AWS RegionThe Region where SES, the pools, and the configuration sets were created, for example eu-west-1

After Gamanza Engage stores these values, renaming a configuration set, deleting the access key, or moving SES to another Region stops CRM email until the new values are configured on both sides.