Send a single email
Dispatches the email to the queue for async processing. Supports optional React template rendering.
Email message details
Send multiple emails in a batch
Dispatches all emails to the queue for async processing. Supports React template rendering for each message.
Batch email details
Email Service
Main facade for sending emails. Routes emails to queues for async processing. The queue is injected via EMAIL_TOKENS.EmailQueue, configured by the application via EmailModule.withRoot({ queue: 'queue-name' }).
Example: Basic usage