Overview:
Wraps is an open-source CLI tool that deploys a complete email sending infrastructure to the user's own AWS account in approximately two minutes. It eliminates the need for manual AWS console configuration by provisioning SES (Simple Email Service), event tracking, and webhook handling through a single command. Designed for developers who need to send transactional or marketing emails, Wraps ensures all data and infrastructure remain within the user's cloud tenancy. The project also offers SDKs for TypeScript, plus optional support for SMS, CDK, and Pulumi deployments.
Core Features:
One-command deployment: A single CLI command (
wraps email init) provisions all required AWS resources, including SES, EventBridge, SQS, DynamoDB, Lambda, and IAM roles.AWS-native ownership: Infrastructure and email data stay entirely within the user's AWS account; no third-party email service processes or stores the data.
Real-time event tracking: Uses EventBridge and SQS to capture email events such as bounces, opens, clicks, and deliveries, with configurable retention in DynamoDB.
Visual template editor: Includes an interactive dashboard for designing email templates visually, alongside a TypeScript SDK for programmatic sending.
Least-privilege IAM with OIDC: Deploys IAM roles with minimum required permissions and supports OIDC for external platforms like Vercel and AWS native services.
Infrastructure as code variants: Offers additional SDK packages for AWS CDK and Pulumi, plus a separate CLI command for SMS infrastructure deployment.
Use Cases:
Developers needing transactional email infrastructure: Set up a fully managed email sending pipeline for user notifications, password resets, or order confirmations without navigating AWS console settings.
Teams requiring data residency: Deploy email sending and event storage within a specific AWS region and account, ensuring no email data or logs leave the controlled cloud boundary.
Automating email delivery for SaaS products: Use the TypeScript SDK to integrate email sending and event handling into existing application code, with webhook support for bounce and complaint processing.
Self-hosters migrating from third-party email APIs: Replace services like SendGrid or Mailgun with AWS SES infrastructure managed entirely through a single CLI command, retaining direct AWS pricing.
Why It Matters:
Wraps provides a method for teams to own their email infrastructure without the typical complexity of manual AWS SES setup. It does not introduce a proprietary email queue or storage layer; instead, it leverages standard AWS services (SES, SQS, DynamoDB, Lambda) with automatically generated least-privilege IAM policies. This approach gives developers a transparent, auditable infrastructure that can be extended or modified via AWS CDK or Pulumi. For teams that prioritize data control or need to comply with internal data residency policies, Wraps offers a developer-friendly path to self-hosted email operations using standard AWS services and predictable billing directly from AWS.




