Convenient way to translate JSON email from SNS Topic to readable format?

0

Hi all, hope all is well!

I have a domain email address set up using the following architecture:

Incoming Amazon SES email -> Publish to SNS topic -> output is in unreadable JSON format.

I followed this guide to set it up, but there it seems the unreadable output is the final product.

Comments on the guide talk about using a script to translate this, but I'm lost on how to set it up, and it seems there should be an easier way to do this.

Does anyone have any recommendations for me?

2 回答
1

Hi amarcin,

There are two options:

  • Use subscription protocol "Email" instead of "Email-JSON". It has same result but in clear text.
  • Send the notifications to a Lambda which can then send a formatted email via SES. For fan-out pattern and scalability, you could send to SNS->SQS<-Lambda
profile picture
专家
已回答 1 年前
1

I suppose the answer to this question depends on what you want to do with the incoming email. If you need to be able to view incoming messages in an email client such as Outlook, keep in mind that Amazon SES doesn't have an IMAP server.

If you want to view incoming messages in an email client, I recommend that you connect Amazon SES to Amazon WorkMail. WorkMail does provide an IMAP server. You can connect your email client to the IMAP server to easily retrieve inbound messages in an email client.

专家
已回答 1 年前
  • Thank you for that perspective! I think I'll take your idea and ditch the Lambda function idea and instead use WorkMail as the hosting IMAP server for an all-AWS architecture.

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则