Storefront has been decoupled into micro-frontends with a dedicated commerce app and shared shell.

Read the architecture guide →

External SMTP email delivery provider used by BookWorm to submit rendered order notification emails over authenticated SMTP.

ExternalSMTP

Integration Purpose & Boundary

SendGrid is BookWorm’s external email delivery provider in publish environments, offloading internet mail routing, sender reputation, and downstream delivery. At runtime, only Notification APIServicev1.0.0Notification APIInternal background worker that consumes order commands from Kafka, renders MJML email templates, and submits mail over ...SubscribesPlaceOrderCommand, CancelOrderCommand +1APIsAsyncAPIOwnerplatform-engineering-teamDiagramRepositoryOpen docs integrates with SendGrid to transmit rendered order lifecycle emails.

Note

Although SendGrid’s platform exposes a REST v3 HTTP API, BookWorm does not invoke SendGrid HTTP endpoints at runtime—Notification APIServicev1.0.0Notification APIInternal background worker that consumes order commands from Kafka, renders MJML email templates, and submits mail over ...SubscribesPlaceOrderCommand, CancelOrderCommand +1APIsAsyncAPIOwnerplatform-engineering-teamDiagramRepositoryOpen docs submits rendered MIME messages exclusively over authenticated SMTP (using a local test inbox during development).

Integration Profile

PropertyValue
Provider / SidecarTwilio SendGrid (SMTP relay in publish environments; local test inbox in development)
BookWorm ConsumersNotification APIServicev1.0.0Notification APIInternal background worker that consumes order commands from Kafka, renders MJML email templates, and submits mail over ...SubscribesPlaceOrderCommand, CancelOrderCommand +1APIsAsyncAPIOwnerplatform-engineering-teamDiagramRepositoryOpen docs only
Runtime Transport & ProtocolSMTP over TLS (port 587)
Auth / Credential BoundaryAPI key injected via runtime secret configuration (apikey username); domain-authenticated sender identity recommended for production
Data / PII SensitivityHigh — carries customer recipient email addresses and order notification content; redact recipient metadata in logs and never log rendered email bodies
Failure / Fallback BehaviorBounded client retries followed by Kafka listener backoff and dead-letter routing on Notification Dead Letter QueueChannelv1.0.0Notification Dead Letter QueueKafka dead-letter topic owned by the platform team that captures order notification commands that Notification API could...Ownerplatform-engineering-teamOpen docs; no delivery webhooks ingested

Visualizations & Specifications

Delivery Integration Context

Loading graph...

Service Interactions

  • API and contracts indexCustom DocAPI and contracts indexConsolidated index of BookWorm HTTP v1, gRPC, AG-UI, MCP, A2A, and Kafka/Wolverine contracts grouped by service with aut...Ownerplatform-engineering-teamOpen doc — Consolidated service, HTTP, gRPC, and Kafka directory.
  • Notification APIServicev1.0.0Notification APIInternal background worker that consumes order commands from Kafka, renders MJML email templates, and submits mail over ...SubscribesPlaceOrderCommand, CancelOrderCommand +1APIsAsyncAPIOwnerplatform-engineering-teamDiagramRepositoryOpen docs — Consuming Kafka email worker.
  • SendGridSystemv1.0.0SendGridExternal email delivery platform used by BookWorm to submit rendered transactional emails over authenticated SMTP. Ownerplatform-engineering-teamDiagramOpen docs — External SendGrid system boundary.
  • domains/bookworm/subdomains/platform/engineering/platform-integration-boundaries — Platform service and external provider boundaries.