I want to extract an email attachment and save that attachment into an S3 bucket. I have configured SES to intercept my incoming emails.
I am guessing I need to create a SES rule which would have an action to trigger a Lambda function that extracts the email attachment and stores it to S3. I am not sure how to write this Lambda function.