Skip to content

Amazon Simple Email Service (SES)

Amazon SES is used in the AngelCX platform for sending transactional emails across two main services:

  1. Cognito Authentication Emails

    • User verification
    • Password reset
    • Account confirmation
    • MFA codes
  2. Post Session API Emails

    • Post session (customer defined) email to visitors
    • Custom templated notifications
    • Delivery status tracking

Email Flow

sequenceDiagram participant C as Cognito participant P as Post Session API participant S as Amazon SES participant U as User/Visitor participant D as Database alt Authentication Emails C->>S: Send Auth Email S->>U: Deliver Email S-->>C: Delivery Status else Post Session Emails P->>S: Send Session Summary S->>U: Deliver Email S-->>P: Delivery Status P->>D: Log Email Status end

Configuration Process

Setting up a new sender email in SES is straightforward:

  1. Navigate to SES Console
  2. Add new email address
  3. Wait for verification email
  4. Click verification link
  5. Email is ready for sending

Environment Configuration

Note

Production access is already enabled for both development (ap-south-1) and production (us-east-1) environments. Each environment refreshes its 50,000 email daily sending quota regularly.

Development Environment (ap-south-1)

  • Full production access enabled
  • Daily quota: 50,000 emails
  • Used for testing and development

Production Environment (us-east-1)

  • Full production access enabled
  • Daily quota: 50,000 emails
  • Used for production traffic

Email Logging

The Post Session API maintains comprehensive email logs in the database:

  • Delivery status
  • Timestamp information
  • Recipient details
  • Template used