Is it possible to send out an email with an attachment; the attachment being a csv from an S3 bucket?
The only thing that I could find is using python script; is this the only way to accomplish this task? Assuming it is even possible.
Does anyone know any working examples?
Thanks in advance.
4 Community Answers
Laura Malins —
I don’t know of a way to directly send an attachment from an S3 bucket, but you could put a link to the file in S3 into a variable and send that as part of the email in the SNS component.
Another option is, as you say, to use Python but you’ll still need to use boto to download the file to send it as an attachment. I can send you a job with a python script to send an email and it won’t be a big step to add an attachment in?