Skip to content

Why can't I receive email notifications from my Amazon SNS topic?

4 minute read
1

I don't receive email notifications from my Amazon Simple Notification Service (Amazon SNS) topic.

Resolution

Verify that your email endpoint status is Confirmed

To check the status of your email endpoint, use either the Amazon SNS console or the AWS Command Line Interface (AWS CLI).

Amazon SNS console

Complete the following steps:

  1. Open the Amazon SNS console.
  2. In the navigation pane, choose Topics, and then select your topic.
  3. In the Subscriptions section, find your email endpoint in the Endpoint column.
  4. In the Status column, check whether the status is Confirmed.
  5. If the status isn't Confirmed, then manually confirm the subscription on the Amazon SNS console. You receive the confirmation email.
  6. (Optional) If you didn't receive the confirmation email, then select the subscription with your endpoint, and then choose Request confirmation.

AWS CLI

Note: If you receive errors when you run AWS CLI commands, then see Troubleshooting errors for the AWS CLI. Also, make sure that you're using the most recent AWS CLI version.

Run the following list-subscriptions-by-topic command:

aws sns list-subscriptions-by-topic --topic-arn "arn:aws:sns:us-east-1:125224123456:my-topic

Note: Replace arn:aws:sns:us-east-1: 125224123456:your-topic with your Amazon SNS topic Amazon Resource Name (ARN).

Example output:

{
    "Subscriptions": [
        {
            "Owner": "123456789012",
            "Endpoint": "my-email@example.com",
            "Protocol": "email",
            "TopicArn": "arn:aws:sns:us-west-2:123456789012:your-topic",
            "SubscriptionArn": "arn:aws:sns:us-west-2:123456789012:my-topic:8a21d249-4329-4871-acc6-7be709c6ea7f"
        }
    ]
}

Note: If no email endpoint is in the Endpoint column, then the endpoint is deleted.

Check whether email addresses can receive emails from external contacts

To check whether the issue is only with Amazon SNS, send a test email from an external provider to your destination email address. The test email helps you determine what type of traffic is allowed from external sources. An organization might limit its mailboxes to internal traffic.

If the mailbox receives the test email, then complete the steps in the following section.

Check for firewall, spam filter, and mailbox rules

Contact your email administrator to check whether a firewall or spam filter blocked the no-reply@sns.amazonaws.com address. It's a best practice to add the no-reply@sns.amazonaws.com address to your mailbox allow list. For more information, see Do subscribers need to specifically configure their email settings to receive notifications from Amazon SNS? in the Transports section of Amazon SNS FAQs.

Check the mailbox rules for an explicit Deny action that blocks your SNS topic email. Also, check whether emails route to specific folders in the mailbox.

Set up an authentication to unsubscribe

Set up an email subscription that requires authentication to unsubscribe so that users don't unsubscribe all recipients of your SNS topic email.

Check for a subscription filter policy

Complete the following steps:

  1. Open the Amazon SNS console.
  2. In the navigation pane, choose Topics.
  3. Choose your topic, and the select the Subscriptions tab.
  4. Select the Subscription filter policy tab, and then check for a filter policy.
  5. If a filter is applied, then check the NumberOfNotificationsFilteredOut metric to verify whether it rejected any messages.

When a message is sent to the endpoint, Amazon SNS compares the message attributes to the attributes in the filter policy. If the message attributes and the filter policy attributes don't match, then the email endpoint doesn't receive the message.

For more information, see How do I troubleshoot subscription filter policy issues in Amazon SNS?

Check email suppression status

To view a list of the email addresses that are on your account-level suppression list, run the following list-suppressed-destinations command:

aws sesv2 list-suppressed-destinations

To remove an email address on the suppression list, see How do I remove email addresses that are on an Amazon SES suppression list?

Confirm that the default AWS KMS key settings aren't in use

If you use the default AWS Key Management Service (AWS KMS) key for encryption, then AWS services can't publish messages to the SNS topic. The AWS KMS key policy for Amazon SNS doesn't allow AWS services to perform kms:Decrypt and kms:GenerateDataKey API calls. Because AWS manages the key, you can't manually edit the policy.

To check the AWS KMS key settings, complete the following steps:

  1. Open the Amazon SNS console.
  2. In the navigation pane, choose Topics.
  3. Choose your topic, and then select the Encryption tab.
  4. If the AWS KMS key setting is (Default) alias/aws/sns, then configure a customer managed key policy similar to the following:
    {
        "Version": "2012-10-17",
        "Statement": [
            {
                "Effect": "Allow",
                "Principal": {
                    "Service": "service.amazonaws.com"
                },
                "Action": [
                    "kms:GenerateDataKey*",
                    "kms:Decrypt"
                ],
                "Resource": "*"
            }
        ]
    }

The preceding customer managed key policy includes the permissions to perform kms:GenerateDataKey and kms:Decrypt.

3 Comments

If the default AWS Key Management Service (AWS KMS) key is used for encryption, services (such as Amazon CloudWatch), can't publish messages to the SNS topic. That needs to be added to the console information on the SNS encryption setting. I wasted a lot of time thinking the KMS key was set properly and useful for other AWS services.

replied 3 years ago

Thank you for your comment. We'll review and update the Knowledge Center article as needed.

AWS
MODERATOR

replied 3 years ago

This article was reviewed and updated on 2026-04-03.

AWS
EXPERT

replied 7 months ago