About This Architecture
Serverless email-to-task processing architecture using AWS Lambda, EventBridge, and Amazon Bedrock to automatically convert shared mailbox emails into actionable tasks with AI-powered deduplication. The system polls Microsoft Graph API on a scheduled cadence, queues raw emails via SQS, deduplicates using message-ID and conversation-ID indices, and enriches tasks with Claude or Titan LLM before storing in DynamoDB. Real-time synchronization via API Gateway WebSocket and Lambda WebSocket Manager pushes task updates to authenticated browser clients through Amazon CloudFront-hosted SPA with Cognito and Microsoft Entra ID federation. All Lambda functions emit structured logs and metrics to CloudWatch and X-Ray for full observability of the ingestion and processing pipeline. Fork this diagram to customize the deduplication logic, swap LLM providers, or integrate additional email sources and downstream task systems.