Drupal is a registered trademark of Dries Buytaert
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). 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). editoria11y 2.2.22 Minor update available for module editoria11y (2.2.22). ai 1.2.13 Minor update available for module ai (1.2.13). ai 1.3.2 Minor update available for module ai (1.3.2). moderated_content_bulk_publish 2.0.51 Minor update available for module moderated_content_bulk_publish (2.0.51). moderated_content_bulk_publish 2.0.50 Minor update available for module moderated_content_bulk_publish (2.0.50). editoria11y 2.2.21 Minor update available for module editoria11y (2.2.21). eca 3.1.0 Minor update available for module eca (3.1.0). sophron 3.1.1 Minor update available for module sophron (3.1.1). ai 1.3.1 Minor update available for module ai (1.3.1). seven 2.0.0-beta6 New beta version released for theme seven (2.0.0-beta6).

mailcoach

No security coverage
View on drupal.org

Mailcoach integrates Drupal with Mailcoach Cloud
by providing a configurable newsletter subscription form. It lets you collect email addresses in Drupal and subscribe
them directly to a Mailcoach Cloud list via the API—without using embedded third-party forms.

Features

  • Adds a configuration form to store your Mailcoach Cloud API base URL, list UUID, API token, and request timeout.
  • Provides a simple newsletter subscription form (email address only).
  • Sends subscriptions directly to the configured Mailcoach list using the Mailcoach Cloud API.
  • Displays a success message to the visitor and logs API errors while showing a generic error message to end users.

Typical use cases include subscription forms in landing pages, footers, and design system components where you prefer a
Drupal-native form over JavaScript embeds.

Post-Installation

  1. Enable the module (via the Extend page or Drush).
  2. Configure Mailcoach at the module settings page:
    • /admin/config/services/mailcoach (location may vary by site)
  3. Enter:
    • API base URL (e.g. https://mailcoach.app or your Mailcoach Cloud domain)
    • List UUID (the Mailcoach list to subscribe users to)
    • API token (with permission to manage subscribers)
    • Request timeout (seconds)
  4. Use the subscription form:
    • Visit /newsletter/subscribe, or
    • Embed the form in your theme/templates (for example with Twig Tweak):
      {{ drupal_form('Drupal\\mailcoach\\Form\\SubscribeForm') }}

Additional Requirements

  • A Mailcoach Cloud account
  • A Mailcoach Cloud API token
  • A Mailcoach Cloud email list UUID
  • Twig Tweak (optional) — useful when embedding the form directly
    from Twig templates/components.

Similar projects

Many newsletter modules focus on other providers or rely on embedded external forms. Mailcoach focuses on a minimal,
Drupal-native form that communicates directly with Mailcoach Cloud via the API and is easy to integrate into custom
themes and component-based sites.

Supporting this Module

Please use the Drupal.org issue queue for bug reports and feature requests. Patches and merge requests are welcome.

Community Documentation

Security note: Treat API tokens as secrets. Avoid committing real tokens to version control and prefer
secure configuration management practices appropriate for your hosting/deployment setup.

Activity

Total releases
1
First release
Apr 2026
Latest release
13 hours ago
Release cadence
Stability
100% stable

Releases

Version Type Release date
1.0.0 Stable Apr 13, 2026