Messaging & Email
Transactional email and notifications powered by pluggable mailers and workflow jobs.
Bosca includes a simple messaging layer for transactional email (invites, password resets, workflow notifications). It uses a pluggable mailer interface with a default SendGrid implementation and a job to send messages asynchronously.
What you get:
- Pluggable mailers (SendGrid today; extensible to other providers)
- Asynchronous delivery via a background
EmailJob - Structured email models (to, from, subject, content parts)
- Support for text and HTML bodies
Typical uses:
- Organization Invites: Automatically send emails when you invite new members.
- Security: Handle passwordless login links and email verification.
- Workflow Notifications: Alert teams when content is ready for review or has been published.
For developers
The messaging layer abstracts the email provider, allowing you to switch services without rewriting code. It handles asynchronous delivery and retries automatically.
Key features:
- Pluggable Providers: Use SendGrid out of the box, or extend it to support other providers.
- Async Delivery: Emails are sent via background jobs to ensure your app stays fast.
- Rich Content: Support for both text and HTML email bodies.
Related:
- Architecture: Other Servers → Messages
- Workflows: Automated notifications
- Source code:
backend/framework/messages