Dev.to
6/19/2026

How to E2E Test Amazon SES Email Workflows in Playwright
Short summary
Complete guide to end-to-end testing of Amazon SES email workflows in Playwright using ZeroDrop disposable inboxes. Covers progression from SES sandbox (local, 200/day limit) through production access (24-48hr approval) to CI automation with GitHub Actions. Includes working Next.js API route examples, IAM permission setup, OTP extraction, and security best practices like AWS OIDC token exchange instead of long-lived access keys.
- •Setup Amazon SES sandbox locally with verified email addresses for 200 emails/day limit
- •Request SES production access (takes ~24 hrs) to enable testing with random email addresses
- •Use ZeroDrop disposable inboxes in CI/CD for automated E2E email testing with GitHub Actions and OIDC authentication
Generated with AI, which can make mistakes.
Is this a good recommendation for you?



