Index of every page on this site: llms.txt
All skills
amazon-ses avatar

/aws-mail-manager

@58f234e
Run it yourself

Process, route, filter, and archive inbound email with Amazon SES Mail Manager. Use when building email ingress pipelines, spam/IP filtering, compliance archiving, SMTP relay forwarding, address allow/block lists, or any inbound email processing workflow. Covers ingress points, traffic policies, rule sets, relays, archives, and address lists.

Use this Skill: https://skilld.dev/gh/amazon-ses/skills/aws-mail-manager

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

examplesREADME.md

≈526 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Amazon SES Mail Manager Code Examples

Standalone Python scripts demonstrating common Mail Manager workflows. Each script is self-contained and runnable with pip install boto3.

Example What it shows
01-setup-pipeline Create archive + traffic policy + rule set + ingress point end-to-end
02-route-by-recipient Rule set with multiple recipient-based routing rules; safe update pattern
03-archive-and-search Async archive search, message content retrieval, S3 export
04-address-list-import Create address list, add members, bulk CSV import via pre-signed URL
05-update-rule-set Safely update ActionFailurePolicy on existing rules (fetch-modify-replace pattern)
06-smtp-relay-replacement CloudFormation: AUTH ingress point as SMTP relay replacement with Secrets Manager
07-cdk-inbound-pipeline CDK (TypeScript): OPEN ingress point with archive + S3 + send to internet

Prerequisites

pip install boto3 requests

Configure AWS credentials (aws configure, environment variables, or IAM role) before running.

Key Patterns Demonstrated

  • Resource creation in dependency order (archive/policy/rule-set before ingress point)
  • Polling for ingress point ACTIVE status before updating DNS — avoids bounced email
  • Fetching current rules before calling update_rule_set (replace-all semantics)
  • Setting ActionFailurePolicy: CONTINUE so one failed action doesn't drop the message
  • Async search/export: start → poll → fetch
  • Two-step address list import: create job → PUT to pre-signed URL → start job

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts5mo3 checks · Risk SAFE
  • Gen Agent Trust Hub5mo

    This skill provides comprehensive documentation and code examples for managing Amazon SES Mail Manager. It enables AI agents to assist in setting up email ingress pipelines, traffic policies, rule sets, and archiving workflows using official AWS SDKs and infrastructure-as-code tools. No malicious patterns or security vulnerabilities were detected.

  • Socket5mo

    No alerts

  • Snyk5mo

    Risk: LOW · No issues

Signed by skilld at 58f234e. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Steadyupdated 6 months ago
Other metadata
compatibility
Requires AWS credentials (IAM user, role, or environment variables) and an AWS account with Amazon SES Mail Manager enabled. Python SDK — boto3 with client name 'mailmanager'. Available in all commercial AWS regions where SES is offered (27 regions as of December 2025). See https://aws.amazon.com/about-aws/whats-new/2025/12/ses-mail-manager-10-regions/ for the latest availability.
metadata
{
  "author": "aws",
  "version": "1.0",
  "service": "mailmanager",
  "revision": 1,
  "updated-on": "2026-03-20",
  "source": "maintainer",
  "tags": "ses,mail-manager,email,smtp,ingress,archive,relay,traffic-policy,rule-set"
}

README badge

README badge for amazon-ses/skills/aws-mail-manager