Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Linkit 7.0.17 Minor update available for module linkit (7.0.17). Release: Paragraphs Editor Enhancements 10.2.0 Minor update available for module paragraphs_ee (10.2.0). Release: Paragraphs Editor Enhancements 10.1.1 Minor update available for module paragraphs_ee (10.1.1). Release: Trash 3.0.34 Minor update available for module trash (3.0.34). Release: Paragraphs Editor Enhancements 10.0.9 Minor update available for module paragraphs_ee (10.0.9). Release: Trash 3.1.0 Minor update available for module trash (3.1.0). Release: Paragraphs Sets 3.0.4 Minor update available for module paragraphs_sets (3.0.4). Release: Paragraphs Sets 3.1.0 Minor update available for module paragraphs_sets (3.1.0). Usage Milestone: Schemata Module schemata crossed 1,000 active installs. Module Revived: CVA (Class Variance Authority) 1.0.1 Module cva updated after 7 months of inactivity (1.0.1).

Mailbox Provider provides a unified Drupal API for accessing and processing email messages from Microsoft 365 and Google Workspace mailboxes. It allows administrators and developers to configure mailbox connections without needing provider-specific code.

Features

Mailbox Provider provides a provider-neutral interface for reading and working with email messages across different mailbox services.

Features include:

  • Support for Microsoft 365 mailboxes through Microsoft Graph.
  • Support for Google Workspace mailboxes through the Gmail API.
  • Provider-neutral mailbox API for custom Drupal integrations.
  • Configurable mailbox connections and folder selection.
  • Integration with OAuth Provider for secure authentication.
  • Support for inbox and sent mail access.
  • User-specific OAuth token handling.
  • Extensible provider architecture for additional mailbox services.

Typical use cases include:

  • Processing inbound support or service mailboxes.
  • Building email-driven workflows.
  • Automating message triage and classification.
  • Creating integrations between mailboxes and business systems.
  • Monitoring shared mailboxes.
  • Importing or analysing email content inside Drupal.

Post-Installation

After installing and enabling the module:

  1. Install and configure the Key module.
  2. Install and configure OAuth Provider.
  3. Create an OAuth account under Configuration > OAuth Service Accounts.
  4. Configure the required Microsoft 365 or Google Workspace permissions.
  5. Create a mailbox connection under Configuration > Mailbox Connections.
  6. Select the mailbox provider, mailbox account, and folder to access.
  7. Authorize a mailbox token for the Drupal user who will access the mailbox.

Once configured, the mailbox connection can be used by custom modules or other integrations to read and process email messages.

Mailbox Provider does not create content types or editorial workflows. Instead, it provides mailbox configuration entities and services that can be consumed by other modules.

Additional Requirements

Required:

  • Drupal 11
  • Key module
  • OAuth Provider
  • A Microsoft Entra ID application or Google Cloud OAuth application
  • Appropriate mailbox permissions and OAuth scopes

Mailbox Provider works particularly well alongside:

  • OAuth Provider for authentication and token management.
  • Service Queue modules for asynchronous email processing.
  • Microsoft Graph integrations.
  • Workflow and automation modules.
  • Custom business integration modules.

Similar Projects

Several modules connect Drupal to email systems, but most focus on sending email or implementing provider-specific integrations.

Mailbox Provider focuses on providing a reusable, provider-neutral mailbox abstraction layer that allows consuming modules to interact with mailboxes using a consistent API regardless of the underlying provider.

This allows developers to build integrations once and support multiple mailbox platforms with minimal additional code.

Supporting this Module

Issues, feature requests, bug reports, and merge requests are welcome through the Drupal.org issue queue.

Community feedback helps improve provider support, mailbox capabilities, and developer tooling.

Community Documentation

Documentation currently includes:

  • Installation and configuration guidance.
  • Mailbox connection setup examples.
  • Microsoft 365 configuration guidance.
  • Google Workspace configuration guidance.
  • Developer examples for reading mailbox messages.

Additional tutorials, example integrations, and walkthroughs will be added as the project evolves.

Developer Notes

Mailbox Provider exposes stable provider-neutral interfaces for mailbox services and messages, allowing custom modules to work with email content without needing to understand provider-specific APIs.

The module is designed as a reusable foundation for email-driven integrations, workflow automation, message processing, and enterprise mailbox solutions built on Drupal.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Sep 2026
Latest release
5 hours ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

Version Type Core Release date
1.0.x-dev Dev 11 Sep 18, 2026