Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). Varbase Media Header 9.2.1 Minor update available for module varbase_media_header (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

This module allows users to store multiple email addresses in addition to their primary one, helping to prevent duplicate user accounts. It automatically adds old primary emails to the alternative list when the primary is changed and ensures all email addresses are unique to a user. It also modifies user queries to include alternative emails when searching by the primary email field.

This module stores alternative email addresses for users, in addition to the single primary email address stored in the user's mail field.

This can be useful for preventing duplicate users being created for people who have multiple email addresses, as most of us do.

What it does

  • A multi-value field called 'alternative_user_emails' is added to the user entity type.
  • When the primary email is changed, the old email is automatically added to the alternatives.
  • User entity queries are altered so that queries that filter by the mail field also filter by the alternatives.
  • Validation ensures that mails and alternatives are unique to a user.

Recommended modules

  • Read-only widget is useful if you wish to show the alternative emails on a user form, but not allow them to be edited.

Related modules

  • Multiple E-mail Addresses is a much more ambitious and feature-rich approach to allowing multiple email addresses for users. It is now available for Drupal 8+. However, it does not modify user queries in the way this module does.

Contributing

All contributions are welcome. Please submit MRs, not patches, so that the CI tests are run. Please add tests if possible.

If you post an issue and do not receive a response, feel free to contact me by private message in the Drupal Slack (ptmkenny) or via my Drupal.org contact form.

Sponsors

Initial development: Awakened Heart Sangha

Activity

Total releases
1
First release
Jan 2026
Latest release
5 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

Version Type Release date
1.0.1 Stable Jan 18, 2026