Incoming mail triage — the urgent straight to Telegram

The scenario reads every new email in Postmark, decides its type and urgency, flags the important ones in Telegram and logs all emails to AWS DynamoDB.

  • Urgent mail is flagged in Telegram at once
  • Emails are sorted into streams
  • Nothing is lost — everything in AWS DynamoDB
  • Attachments are handled separately