How can I find out which IAM user sent an email through Amazon SES?
I want to see which AWS Identity and Access Management (IAM) user sent an email through Amazon Simple Email Service (Amazon SES). How can I do that?
"I want to see which AWS Identity and Access Management (IAM) user sent an email through Amazon Simple Email Service (Amazon SES). How can I do that?Short descriptionUse Amazon SES event publishing with an Amazon CloudWatch destination to view more information about sent or delivered emails. This information on CloudWatch includes the IAM user who sent the email. Follow these steps:Create a configuration set with CloudWatch as the event destination.Send a test email from Amazon SES.Check the metric on CloudWatch.ResolutionBefore you begin, you must have:A verified email address or domain in Amazon SES.Permissions to use Amazon SES and CloudWatch.Create a configuration set with CloudWatch as the event destinationOpen the Amazon SES console.From the navigation pane, choose Configuration Sets.Choose Create Configuration Set.For Configuration Set Name, enter a name for the configuration set. For example, enter CallerIdentity.Choose Create Configuration Set.From the list of configuration sets, choose the set that you just created to view its details.On the Event Destinations tab, for Add Destination, select CloudWatch.For CloudWatch Destination, enter the following:For Name, enter a name for the event destination. For example, enter NameOfCallerIdentity.For Event types, select Send at minimum. You can also select Delivery to be able to filter between messages that delivered successfully or messages that bounced.For Value Source, select Message Tag.For Dimension Name, enter a name for the dimension. For example, enter ses:caller-identity.For Default Value, enter the same value that you entered for Name.Choose Save.Send a test email from Amazon SESFrom the Amazon SES console, choose Email Addresses or Domains from the navigation pane, depending on whether you're using an email address or domain.Select your verified email address or domain. Then, choose Send a Test Email.Choose More options.Enter the following:For To, enter an email address where you want to receive the test email.For Configuration Set, enter the name of the configuration set that you created.For Subject, enter a subject line for the test email.Choose Send Test Email.Check CloudWatch for the metric on the test emailOpen the CloudWatch console.From the navigation pane, choose Metrics.On the All metrics tab, choose SES.Choose the dimension name that you entered when you created the configuration set. For example, choose ses:caller-identity.Under the ses:caller-identity column, you'll see the IAM user who sent the test email.Related informationRetrieving Amazon SES Event Data from CloudWatchFollow"