[email protected]. Wraps provisions the required AWS MailManager resources and walks you through the DNS configuration.
Inbound email requires outbound email infrastructure to be deployed first. Run
wraps email init before enabling inbound receiving.What gets deployed
Runningwraps email inbound init creates the following AWS resources in your account:
- AWS MailManager ingress endpoint — receives SMTP traffic
- Rule set — routes arriving mail to your configured handler
- S3 bucket — stores raw message content
- IAM roles — least-privilege access for MailManager to write to S3
ManagedBy: wraps-cli and prefixed with wraps-.
Enable inbound email
Deploy inbound infrastructure
| Flag | Description |
|---|---|
-r, --region | AWS region to deploy into |
-d, --domain | Subdomain for inbound (e.g. inbound) |
-y, --yes | Skip confirmation prompt |
--preview | Preview changes without deploying |
Add the MX record
After deployment, Wraps prints an MX record in this form:Add this record at your DNS provider under the subdomain you specified (e.g.
inbound.yourapp.com).The MX record must point to the subdomain, not the root domain. This keeps inbound routing separate from outbound sending.
Verify DNS propagation
-r to specify the region if you deployed to a non-default region:Send a test email
-r if you deployed to a non-default region:Check current status
--region to query a specific region.
Remove inbound infrastructure
| Flag | Description |
|---|---|
-r, --region | Region where inbound is deployed |
-f, --force | Skip confirmation prompt |
Command reference
| Command | Description |
|---|---|
wraps email inbound init | Deploy inbound infrastructure |
wraps email inbound status | Show current status and endpoint details |
wraps email inbound verify | Check MX DNS records |
wraps email inbound test | Send a test email and verify receipt |
wraps email inbound destroy | Remove all inbound infrastructure |
-r / --region to target a specific AWS region.