HUB
Sign inSign up
ses-check logo

makeplane/ses-check

By makeplane

•Updated 5 months ago

Image
0

421

makeplane/ses-check repository overview

⁠SES Suppression Check

Internal support tool. Single-page UI where support can:

  • Check whether an email address is on the AWS SES v2 suppression list
  • Remove it from the suppression list if it shouldn't be there

No authentication — this is meant to run behind a ClusterIP Service with no public ingress, reachable only from inside the cluster/VPN. Do not expose this publicly.

⁠How it works

  • Flask app (app.py) serves a single HTML page (templates/index.html)
  • POST /check → boto3 sesv2.get_suppressed_destination
  • POST /remove → boto3 sesv2.delete_suppressed_destination
  • AWS credentials come entirely from environment variables — no config file, no IAM role assumption baked in (though you can swap to IRSA/Workload Identity on the Deployment if preferred over static keys)

⁠Environment variables

VariableRequiredDefaultNotes
AWS_ACCESS_KEY_IDYes—IAM user with SES suppression list perms
AWS_SECRET_ACCESS_KEYYes—
AWS_DEFAULT_REGIONNous-east-1Must match the region SES sends from
PORTNo8080Flask/gunicorn listen port

Minimum IAM policy needed:

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "ses:GetSuppressedDestination",
        "ses:DeleteSuppressedDestination"
      ],
      "Resource": "*"
    }
  ]
}

⁠Run with Docker

docker run --rm -p 8080:8080 \
  -e AWS_ACCESS_KEY_ID=... \
  -e AWS_SECRET_ACCESS_KEY=... \
  -e AWS_DEFAULT_REGION=us-east-1 \
  makeplane/ses-check:latest
# open http://localhost:8080

Tag summary

Content type

Image

Digest

sha256:0c10cae71…

Size

59.6 MB

Last updated

5 months ago

docker pull makeplane/ses-check