Can I route my mailgun email to S3 bucket and save data there? - amazon-s3

I have a requirement where I need to fetch email data and save somewhere. I can route it to my server and save the data there. Is there any feature where the email data can be routed to an S3 Bucket and I save the data there?

As I can see, you need a backend app that recursively fetch your emails using the Mailgun API formatted as json, then you can save these as text files on S3 service that can be queried later by another backend application.
It requires programming and a server infrastructure.
Regards,

Related

How to using Azure Board to trigger a API call or script

Is there a way I can set up a API call triggering in Azure Board? Lets say one item is "Request approval for creating S3 buckets in AWS", I want to trigger S3 creating API or script when this item's status changed from doing to done. My end goal is automating tasks like S3 buckets creation, VPC creation, shutdown/start VMs etc in my organization.
You are probably wanting to create a Webhook.
Webhooks provide a way to send a JSON representation of an event to
any service. All that is required is a public endpoint (HTTP or
HTTPS).
You would setup to trigger on work item updated. You would like need to code on your receiver to interpret the update.
A. If you want to trigger the API via work item state update, you need own website to receive message from VSTS web hook and send request to run the API call or script, and create webhook in the Azure DevOps.
Develop your own website with below functions:
Check the current state of the work item updated. You can get a work item information by REST API, and the check the value for System.State.
According to the value of System.State, to trigger related API or script.
B.
Login Power Automate and create a custom workflow. You can refer to this doc for more details.

Download email attachment and upload S3 bucket AWS

I have a web app hosted on aws under free tier limit. What I want to achieve is that whenever I received an email, i want the system to download its attachment(will be images only), upload that image to s3 and save the image id in database with email's sender email address. I don't want to use zapier api etc, I want to code it my self. How can I achieve this?
This really depends upon how your email is hosted.
You could use Receive Email with Amazon Simple Email Service.
The flow could then either be:
SES -> S3 -> Trigger Event -> AWS Lambda function, or
SES -> SNS -> AWS Lambda function
You would then need to write a Lambda function to do the processing you described.
If, on the other hand, your email is being hosted elsewhere, then you will need a mechanism to trigger some code when an email is received (somehow on your email system) or a scheduled Lambda function to poll the email system to see whether new mail is available.

Unable to retrieve recordings from Amazon S3 Bucket

We created an instance in Amazon Connect and we're having Data Storage section to store call recordings on Amazon Connect.Usually, the call recordings are storing in Amazon S3 but in our case recordings are not storing in Amazon S3 but it is creating a bucket in Amazon S3
The "folder structure" your referring to is actually part of the object name that is created in S3, see this link for more information here. You are not seeing any "folder structure" because no objects have been created with that prefix yet. In order for Amazon Connect to create a call recording, you must enable recording for a Contact Flow. Once a call is processed through a Contact Flow that has recording enabled, then you will see the recording as as object in S3 with the expected prefix ("folder structure").
To enable recording in a call flow, add the Set Recording Behavior step to your Contact Flow.
This can be found under the Set section of the available steps in the Contact Flow Editor.

Shopify custom form

I need to create custom form in shopify eshop and the data send via external API. Is there some way how to do that? Or is there some way how to store the custom data and then access it via private app? Thanks a lot!
This really depends on what data you are trying to collect. If you are just trying to collect standard customer info you can create your own form in .liquid and have a webhook forward the info to zapier or create a private app key/pwd and use the Shopify api to pull information.
If you want more arbitrary information you can create or use an app that allows you to create a form and then process that form's responses.
I have a forms app in development that allows you to create a form and use an api to pull data from form submissions or have the form response sent as a JSON email body. (https://knightsofthenet.herokuapp.com/questionnaire/)
Some of the competition will just email the response in their own format and then you have to parse that response (in the past I've done that with mail gun and a node app. This would be a good use case for SES and AWS Lambda as well.

How to Create email id for each user in Amazon Ec2?

I am running my application in amazon Ec2 with PHP.We are using S3 for storage images and files.Now I want to create the email id for each user those who are successfully register.
When the users send the mail from the another email id to this particular email id with attachment I need to get the files and upload to S3.
I read the SES document.But I didn't get any clue how to do this.Please let me know if you have any ideas.
It sounds to me like you want to parse incoming email for attachments, if so take a look at the imap functions and Mail_mimeDecode, I use a combination of both.