Drupal is a registered trademark of Dries Buytaert
drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). eca 3.1.1 Minor update available for module eca (3.1.1). layout_paragraphs 2.1.3 Minor update available for module layout_paragraphs (2.1.3). ai 1.3.3 Minor update available for module ai (1.3.3). ai 1.2.14 Minor update available for module ai (1.2.14). node_revision_delete 2.0.3 Minor update available for module node_revision_delete (2.0.3). moderated_content_bulk_publish 2.0.52 Minor update available for module moderated_content_bulk_publish (2.0.52). klaro 3.0.10 Minor update available for module klaro (3.0.10). klaro 3.0.9 Minor update available for module klaro (3.0.9). layout_paragraphs 2.1.2 Minor update available for module layout_paragraphs (2.1.2). geofield_map 11.1.8 Minor update available for module geofield_map (11.1.8).

mail_entity_queue

24 sites Security covered
View on drupal.org

This module provides a queues based system to manage mails.

It treats every queue item as an entity and provides a default processor to send them via Drupal core email's system.

Processors can be provided from external modules and can be selected in each queue.

Each queue can be limited by the following:

  • Number of items per cron run
  • Delay between one item and the next
  • Number of attemps per item (Pending to implement)

Note the following things:

  • At the moment this module does not use the Drupal core Queue API.
  • Queue items are created programmatically (there isn't a UI for this at the moment).

INSTALLATION

Using composer:

composer require drupal/mail_entity_queue --sort-packages

CONFIGURATION

  • You can add one or several Queues in Configuration > System > Mail entity queues (config/system/mail-entity-queue)
  • Mail queue items are managed from Structure > Mail queue items (admin/structure/mail-entity-queue).
  • You can update/delete/process each item individually from there.

USAGE

  • First, create a queue from Configuration > System > Mail entity queues (config/system/mail-entity-queue)
  • Using the queue machine name, load it programmatically and add items to it, for example:
    $queue = \Drupal::entityTypeManager()->getStorage('mail_entity_queue')->load('my_queue');
    $to = '[email protected]';
    $params = [
        'subject' => 'My awesome email',
        'body' => ['Body of the email'],
        'headers' => [
            'From' => '[email protected]',
            'Sender' => '[email protected]'
        ],
    ];
    $queue->addItem($to, $params);
  • Manage the queues from Structure > Mail queue items (admin/structure/mail-entity-queue)

RECOMMENDED MODULES

ALTERNATIVE MODULES

Queue Mail: https://www.drupal.org/project/queue_mail

SPONSORS

Fundación UNICEF Comité Español

Activity

Total releases
6
First release
Sep 2025
Latest release
1 month ago
Release cadence
33 days
Stability
83% stable

Release Timeline

Releases

Version Type Release date
2.0.4 Stable Mar 7, 2026
2.0.3 Stable Nov 23, 2025
2.0.2 Stable Oct 16, 2025
2.0.1 Stable Sep 30, 2025
2.0.0 Stable Sep 25, 2025
2.x-dev Dev Sep 25, 2025