AWS SES Integration with Thunai
Thunai AI seamlessly integrates with AWS SES to send Conversation Summary reports directly via email.
Required Information
- AWS Access Key
- AWS Secret Key
- AWS Region (e.g., us-east-1)
- From Email – should follow the format: Elamaran <elamaran@entrans.io>
Steps to Generate AWS Access Key and Secret Key
1. Sign in to AWS Console
- Go to AWS Management Console.
- Log in with your AWS account credentials.
2. Open IAM (Identity and Access Management)
- In the Search bar, type IAM and select it.
- Navigate to Users.
3. Create or Select an IAM User
- If you already have a user for SES, select it.
- Otherwise, click Add users:
- Enter a username (e.g., ses-thunai-user).
- Select Programmatic access.
4. Assign Permissions (Send-Only Email Policy)
- In the Permissions tab, click Add permissions → Create inline policy.
- Choose the JSON tab and paste the following:
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowSESSendEmail",
"Effect": "Allow",
"Action": [
"ses:SendEmail",
"ses:SendRawEmail"
],
"Resource": "arn:aws:ses:us-east-1:003304347306:identity/elamaran@entrans.io"
}
]
}
Click Review policy, give it a name like SES_SendEmail_Only, and Create policy.
5. Generate Access Keys
- After creating the user, go to Security credentials.
- Under Access keys, click Create access key.
- Choose Application running outside AWS (recommended).
- Copy and securely store:
- Access Key ID
- Secret Access Key (only shown once).
AWS SES Configuration:
1. Navigate to the Applications section in the side menu bar.
2. Locate the AWS SES card and click the Connect button.
Enter your AWS Access Key, AWS Secret Key, AWS Region and From Email ID, then click Save to complete the setup.
Integration with Agents
AWS Simple Email Service (SES) can be integrated with Chat, Voice, and Email Agents to enable automated email delivery of conversation summaries. Based on configured workflows, agents can send summaries to the appropriate users’ email addresses, ensuring smooth communication and record-keeping.
Supported Agents & Features
1. Chat Agents
- Send Summaries via Email – Deliver conversation summaries through AWS SES to users’ emails.
- Workflow-Based Mapping – Email addresses are identified from the workflow, and summaries are sent accordingly.
- Authorization (Optional Security Layer) – Add OTP or verification before sending emails.
2. Voice Agents
- Send Summaries via Email – Capture voice conversation summaries and send them to users via AWS SES.
- Workflow-Based Mapping – Ensure the correct recipient’s email is used as per workflow rules.
- Authorization (Optional Security Layer) – Secure email sending with OTP or voice authentication.
3. Email Agents
- Send Summaries via Email – Forward conversation summaries directly to mapped users using AWS SES.
- Workflow-Based Mapping – Determine recipient email addresses from workflow mapping.
- Authorization (Optional Security Layer) – Use OTP or email verification before sending summaries.
Configuration
- Create & Configure Common Agents
- Set up Chat, Voice, or Email agents for AWS SES integration.
👉 Learn how to create & configure agents
- Set Workflow & Map with AWS SES
- Define workflows for summary handling and email delivery.
- Map workflows to recipient email addresses so SES can deliver the summaries.
👉 Learn more about workflows here
Once configured, AWS SES enables automated and secure email delivery of summaries via Chat, Voice, or Email Agents, ensuring that the right users receive the right information at the right time.