Let's Do DevOps

Let's Do DevOps

🔥Agentic AI Email Bot on AWS Bedrock AgentCore: Building the Thread, Sending the Reply, and Operating in Production (2/2)🔥

aka, turns out email-safe HTML is basically a different language

Alex Moore's avatar
Alex Moore
Apr 21, 2026
∙ Paid

This blog series focuses on presenting complex DevOps projects as simple and approachable via plain language and lots of pictures. If you find these useful, please consider subscribing - it’s what keeps these articles coming. <3

Hey all! Alex here again. In Part 1 we covered the polling architecture: EventBridge, delta queries, idempotency, and handing off to AgentCore. That got us to the point where the AgentCore worker receives an email payload and needs to do something useful with it.

This article covers what happens next. The worker needs to understand the full conversation, not just the latest message. It needs to run the agent. And it needs to send a reply that actually looks good in Outlook, Gmail, and Apple Mail. Each of those is its own rabbit hole.

This is Part 2 of a 2-part series:

  • Part 1: Full architecture and Microsoft 365 integration

  • Part 2 (this article): Building the email thread, sending formatted replies, and operating in production

User's avatar

Continue reading this post for free, courtesy of Kyler Middleton.

Or purchase a paid subscription.
© 2026 Kyler Middleton · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture