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 réponses
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
EXPERT
répondu il y a un an
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.

EXPERT
répondu il y a un an
  • 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.

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions