title: AWS SES - Logging SendEmail & SendRawEmail calls (SMTP)
body: <p>We've changed our email service from Mandrill to Amazon SES. We are using it with SMTP.</p>
  
  <p>In Mandrill we had access to some details such as:</p>
  
  <ul>
  <li>raw content of the emails</li>
  <li>delivery dates</li>
  <li>is the email viewed by the recipient</li>
  <li>are the links in the email clicked</li>
  </ul>
  
  <p>But in <code>SES Management Console &gt; Sending Statistics</code> page it shows only the numbers without any details for deliveries, bounces, complaints &amp; rejects.</p>
  
  <p>And I've looked into CloudTrail, CloudWatch &amp; S3 combination with no luck. Also I'm not sure if this is still valid but <a href="https://aws.amazon.com/about-aws/whats-new/2015/05/amazon-ses-is-now-integrated-with-cloudtrail/" rel="noreferrer">this page</a> says</p>
  
  <blockquote>
    <p>All Amazon SES APIs except for the email-sending APIs (SendEmail and SendRawEmail) are supported.</p>
  </blockquote>
  
  <p>So I can't seem to log these data with CloudTrail.</p>
  
  <p>Can I log them via another method (maybe a third party tool?). How do other people log these? Or do they? Maybe it's not possible with SMTP but possible with only API?</p>
  
  <p><strong>Example scenario</strong></p>
  
  <blockquote>
    <p>We're using multiple IAM access keys (with multiple users) for SES. Let's say there is 50% increase in complaints. Doesn't AWS offer any tool to find the culprit access key?</p>
  </blockquote>