Search code examples
amazon-web-servicesamazon-s3email-client

It's possible to consume AWS S3 stored emails via Server Sent Events?


I'm receiving emails using AWS SES and storing on S3 bucket.

I order to put each email in the hands of users, I'm looking for the best way to poll a service and download emails.

Knowing that S3 is just a storage, not an IMAP/POP server, it's clear that an email client cannot be "connected".

I also know AWS offers WorkMail a ready to use IMAP service. I'm working for a government agency with more than 5 thousand users and there is no way to pay USD $2, $3 per user, not even a penny per user. So I have to figure how to poll and download emails to users from an AWS S3 bucket, providing an experience near similar to email client, it can be a web app.

Actually the SES service is working well, each mail is stored as expected in an S3 bucket.


Solution

  • You can forward the mail received to SES to different user accounts. If it works for you, check the following article on Forwarding Emails to your Inbox Using Amazon SES. You might need to modify the Lambda function to forward to different users.