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 Respuestas
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
EXPERTO
respondido hace un año
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.

EXPERTO
respondido hace un año
  • 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.

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas