镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Multiple Email addresses #26866

Open

Description

@blizzz

Allow users to set multiple email addresses, and select one as primary address. Confirmation via link is required. Additional addresses are being considered in e.g. share dialogues.

  • \OC(P)\Accounts\ components are extended to support multi-value properties in general and emails in particular Extend Accounts with multivalue properties (PropertyCollection) #27189

  • \OCA\Settings\Controller\UsersController methods are discontinued in favor of User Provisining API. Currently they exist in parallel. The User Provisioning API has to be extended accordingly make Provisioning API aware of multiple mails #27474

  • \OCA\DAV\CardDAV\Converter::createCardFromUser has to be extended to support additional multiple values

  • Mail verification has to be implemented (following the password reset, same mechanisms) – part of Allow users to choose a different email for notifications #28422

  • coniguration option for setting notification mails and UI controls – Allow users to choose a different email for notifications #28422 and let user choose notification email in user settings #28840

  • Email uniquness cannot be guaranteed through DB structure (for they are not unique and would potentially break setups). It is ensured when creating and verifying additional email addresses.

    • don' insert an email when one is already known (not safe of race conditions)
      • when an email is confirmed, ensure that the same pending addresses are removed (handling a potential race condition)
      • And when an email is introduced by the user backend:
      • if the additional address state is…
        • not verified: → remove it
        • verified:
          • same user: remove additional i.e. remove duplicate
          • different user: write to audit log (this is then something only the admin can resolve)
  • occ commands for adding and removing mails; and making one primary

  • Frontend email section in Vue with Integration Multiple Emails UI and Integration #27379

  • Preserve order and scope of additional emails

    • When updating an additional email address the order is not preserved
    • Scope is also not preserved for the updated email

Activity

  1. added this to the Nextcloud 22 milestone on May 3, 2021
  2. self-assigned this
    on May 3, 2021
  3. added and removed
    0. Needs triagePending check for reproducibility or if it fits our roadmap
    on May 3, 2021
  4. bpcurse commented on May 4, 2021

    @bpcurse

    Confirmation via link is required.

    Will this close #15373, too?
    Meaning all email address changes need to be verified, not just adding additional ones?

    Linking it here as a reference/reminder to close it afterwards.

  5. blizzz commented on May 4, 2021

    @blizzz
    MemberAuthor

    Confirmation via link is required.

    Will this close #15373, too?
    Meaning all email address changes need to be verified, not just adding additional ones?

    Linking it here as a reference/reminder to close it afterwards.

    For now it is only additional addresses. User backend addresses are not always writable and may be provided directly by the user backend. If a looup server (something like a global addressbook) is being used, it will actually cause a confirmation (since it does not trust the provided data). Nevertheless, I see the use case for confirming those as well, when users are able to change it. It's not in scope here, maybe it can be dealt with as by-catch, but no promises.

  6. linked a pull request that will close this issueMultiple Emails UI and Integration #27379on Jun 8, 2021
  7. self-assigned this
    on Jun 16, 2021
  8. reopened this on Jul 15, 2021
  9. 13 remaining items

  10. added this to the Nextcloud 27.0.1 milestone on Jun 9, 2023
  11. moved this to 🧭 Planning evaluation (don't pick) in 📝 Productivity teamon Jul 12, 2023
  12. moved this from 🧭 Planning evaluation (don't pick) to 🛑 On hold in 📝 Productivity teamon Jul 12, 2023
  13. removed this from the Nextcloud 27.0.2 milestone on Aug 8, 2023
  14. moltke69 commented on Aug 20, 2024

    @moltke69

    If I could make a humble request: For me it would be also important, that the calendar recognizes also the multiple email addresses. E.g. there are two email-addresses for each user: userid@domain (internal for login) and firstname.lastname@domain (official). If you would invite with the "official email address" and the user clicks the "accept" button, the meeting is not added in your calendar, as the calendar app does not recognize the second email address. Thank you.

  15. assigned and unassigned on Apr 1, 2025
  16. changed the issue type fromtoon Aug 11, 2025
  17. Mondane commented on Jul 11, 2026

    @Mondane

    I just tested password reset and found out that the reset link is sent to the primary mail address. I'd expected to have this reset link sent to all addresses. I don't want to change my primary address, as that's the one I also use in Nextcloud Mail.

    Maybe make it so that one can specify per mail address if it's to be used for a password reset and/or notifications.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions