SendGrid
External email delivery platform used by BookWorm to submit rendered transactional emails over authenticated SMTP.
System Purpose & Boundary
SendGrid provides BookWorm’s external SMTP email relay boundary within the PlatformDomainv1.0.0PlatformProvides cross-cutting capabilities for recurring scheduled triggers and durable, idempotent transactional email notific...Ownerplatform-engineering-teamDiagramOpen docs domain, offloading internet mail routing, sender reputation, and downstream ISP delivery. Only Notification SystemSystemv1.0.0Notification SystemInternal platform system that consumes order commands, renders email templates, and submits messages over SMTP. Ownerplatform-engineering-teamDiagramOpen docs integrates with SendGrid at runtime to submit rendered order lifecycle emails. Owning BookWorm’s notification state, managing retry queues, and dictating order or payment status are explicitly out of scope.
SendGrid acceptance confirms only that the provider accepted the SMTP submission—it does not guarantee recipient inbox delivery or confirm that the underlying business order succeeded.
Contained Capabilities
| Service / Agent | Role in System | Primary Data Store | Interaction Style (Sync / Async) |
|---|---|---|---|
| SendGrid APIServicev1.0.0SendGrid APIExternal SMTP email delivery provider used by BookWorm to submit rendered order notification emails over authenticated S...Ownerplatform-engineering-teamDiagramOpen docs | External email delivery integration boundary accepting authenticated SMTP submissions | External (Provider-managed) | Sync (SMTP submission) |
External Interactions & Trust Boundaries
- Sole BookWorm consumer: 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 emails over TLS-encrypted SMTP in publish environments (and uses a local test inbox during development).
- Resilience & dead-lettering: Notification SystemSystemv1.0.0Notification SystemInternal platform system that consumes order commands, renders email templates, and submits messages over SMTP. Ownerplatform-engineering-teamDiagramOpen docs retains full ownership of 24-hour message-ID deduplication, bounded client retries, and dead-letter routing when SendGrid is unavailable or throttles requests.
- Credential & PII boundary: API keys and sender secrets are injected strictly via runtime secret configuration; recipient addresses and message bodies are never logged in routine telemetry.
System Visualizations
System Context
Component Topology
Architecture Decisions
Architecture Decision Records (4)
Decisions that apply to this SendGrid. Search, filter by status, or sort by clicking a column.Related Documentation
- User CheckoutFlowv1.0.0User CheckoutAn authenticated customer checks out a persisted basket through Ordering API; Finance coordinates asynchronous basket cl...Ownercommerce-fulfillment-teamView flowOpen docs — Checkout flow triggering transactional order emails.
- Notification SystemSystemv1.0.0Notification SystemInternal platform system that consumes order commands, renders email templates, and submits messages over SMTP. Ownerplatform-engineering-teamDiagramOpen docs — Internal email rendering and retry boundary.
- SendGrid APIServicev1.0.0SendGrid APIExternal SMTP email delivery provider used by BookWorm to submit rendered order notification emails over authenticated S...Ownerplatform-engineering-teamDiagramOpen docs — External SMTP integration details and credential practices.
- domains/bookworm/subdomains/platform/engineering/platform-integration-boundaries — Platform external integration boundaries.