How to receive meeting requests through amazon SES - amazon-web-services

I am looking for a way to receive all of my company emails and locate those that contain meeting requests, then extract and store following meeting information in a dynamoDB
Creator
Start
End
Location
Attendees
Is this possible and if so is amazon SES the correct route? Can currently receive emails through SES and store in a S3 bucket, but the email is in MIME formate and not all of the meeting information is readily available.
Trying to avoid having to build fancy string passing functions to extract this information if possible.

Related

How to send bulk emails using AWS SES

I am working on SAAS based project. Previously, I have used SES for sending transactional emails. Now I wanted to send personalized marketing emails to thousands of subscribers from a mailing list.
I have checked the following API operations:
- SendEmail:
- Emails can be sent to 50 recipients per api request including to/cc/bcc.
- But in this I can't send personalized emails.
- http://s3.amazonaws.com/awsdocs/ses/latest/ses-api.pdf#API_SendEmail
- SendBulkTemplatedEmail:
- I can send personalized emails in batches to recipients and get unique message id for each recipient.
- But here I am bound to use the email template created by SES CreateTemplate api operation. There is a limit of 10K email templates per Amazon SES account. As per my requirement I would like to create templates on my own.
-https://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-personalized-email-api.html
None of above seems to fit for my requirement. Can you please guide how AWS can help me with this requirement.
Thanks!

AWS Lambda to process Email attachment data?

So my objective is to feed hundreds/thousands of emails into an Amazon S3 bucket and what I would like to do is to be able to extract certain metadata from these emails(which contain attachments). I would like to extract data such as the Sender's email, the Date of email arrival, the Email content and the attachment file name ad extension.
I should note that I am using Zapier to trigger whenever a new email with an attachment comes in, to send that emails attachment data into an Amazon S3 bucket. Though i'm wondering if there's a more efficient way of processing email data using AWS Lambda in this case?
(In a nutshell, what im asking is, using the following 3 tools: Zapier/AWS Lambda/S3, how can I best extract email attachment data? Could you please describe the flow?)

aws sns sms usage reports, able to save message body?

I now that we can set up SNS service SMS subscription which would save the MessageId and few other info.
At first, I thought it would also save the messages too but while reading the records, it is not included.
Is there a way to include it or it's just something we have to do manually while sending the sms?
Thanks in advance for any help.
The message content is not part of your delivery receipt metadata, so it's a good practice that you do your own book-keeping and track all the messages you've sent. A sample schema could be something like:
Destination Phone Number (e.g. +12065551234)
ISO Country Code (e.g. US)
Sent Date (epoch)
Message Id (auto-generated from request)
MCCMNC carrier information
Message Content
Then you can store all this data in a data storage of your choice.
An example architecture (that is cost efficient for high traffic) could be:
Create metadata POJO and serialize into JSON
Use Kinesis Firehose to stream/batch your serialized metadata into S3
Use AWS Glue to determine the schema of your S3 objects
Use AWS Athena to query your stored S3 data
You can read the documentation on how to setup CloudWatch to store metrics and logs for SMS deliveries here
Another recommendation is to check your SMS usage reports. Here is the documentation for that.
Best of luck.
Disclosure: I work in AWS and I worked in the Mobile Messaging (SMS/Push) team.

How can I save an email sent using Amazon SES?

We have auditing requirements that may require us to go back and keep a copy of the email sent out. We're using Amazon SES to send out emails.
Is there any way to retain logs about the email and its contents or should I simply cc the email to some other email account to be used for auditing and trouble shooting later?
You can make use of AWS CloudTrail which keeps track of all APIs including SES. When you enable CloudTrail for SES, all your activity is stored in a S3 bucket which you can retrieve anytime you want.
Take a look at: Logging Amazon SES API Calls By Using AWS CloudTrail
There isn't really a native feature within SES for keeping a copy of sent emails. But there is a feature for storing a copy on S3 for received emails. So if you take your idea of cc'ing or bcc'ing an email box you control then you could follow this instructions. Its a bit of hack but its low effort.

How to check emails logs through AWS?

I have a Joomla website & it is configured to use AWS-SES for outgoing emails. Is there any way or logging by which I can check all outgoing emails from AWS/Joomla with minimum details like timestamp, sent to email id, subject.
Please let me know. Thanks
So while SES doesn't have any fully featured monitoring Suite, you can set SES up to deliver Delivery, Bounce and Complaint Notifications.
With these notifications, you can develop your own application or read the raw notifications that will show you what emails got delivered/bounced/complaints.
Full information on these notifications is available on the AWS Documentation:
http://docs.aws.amazon.com/ses/latest/DeveloperGuide/notifications.html
You can publish your email sending events to an Amazon Kinesis Data Firehose delivery stream. This will take metadata from your sent emails and write it to an S3 bucket, which should produce your desired log.
Amazon has a tutorial on implementing this process at the link below.
https://docs.aws.amazon.com/ses/latest/DeveloperGuide/event-publishing-kinesis-analytics.html