This module sends email notifications for Advanced Queue job events like success, failure, or retry. It allows administrators to configure recipients, subjects, and bodies for these emails, and can optionally integrate with Mailer Plus for more advanced email features.
Description
This module sends email notifications when Advanced Queue jobs complete, fail, or are scheduled for retry. For example, notify website administrators when queue processing fails for an item after multiple retries.
Features
- Configurable notifications for job success, retry, and failure events
- Simple admin interface integrated with Advanced Queue settings
- Customizable email subject and body with placeholder support
- Works with Drupal core's mail system out of the box
- Optional Mailer Plus integration for advanced email features
Requirements
- Drupal 10.2+ or Drupal 11
- Advanced Queue 1.6+
- Optional: Mailer Plus
Configuration
After installation, navigate to Administration > Configuration > System > Queues > Mail Notifications to configure email notifications for each event type.
For each event (success, retry, failure), you can configure:
- Whether to enable notifications
- Recipient email addresses
- Email subject and body with placeholders like
[job_id],[job_type],[queue_id], and[message]
Mailer Plus (DSM+) Integration (previously Symfony Mailer)
For advanced email features like HTML templates, attachments, and policy-based configuration, enable the included Advanced Queue Mailer Plus submodule. This replaces the core mail implementation with Mailer Plus (previously known as Symfony Mailer), allowing you to configure emails through Mailer Plus's policy system.
Upgrading from Previous Versions (pre 1.0.0)
If you were previously using this module with Mailer Plus, the update process will automatically enable the Mailer Plus submodule to maintain your existing configuration.