We could use a merge user bulk option from the "../Admin/Users" page. When merging, a prompt should ask you which one to make the "main" profile, and all others become secondary email addresses. All tickets (and other records) should then be re-linked to the selected main user profile. I'm guessing that the losing merged user profiles would then need to be deleted in order for things to function right, but if we could just disable them and have the new ticket process just search through secondary email address fields PRIOR to seeing if the incoming email is from a disabled user, then we won't need to delete these user accounts. Although I can see the benefit of both sides (deleting to reduce clutter OR keeping for historical/logging purposes).
API requests:
- If added, please expose the user merge operation via the API
- For the "CreateUser" and "UpdateUser" endpoints, please include the secondary email address fields as inputs for inserting/updating
- For the "Users", "UserByUserName", and "UserByEmail" endpoints (and others that return user information), please include the return of the secondary email address field in the result payload.
- For the "UserByEmail" endpoint, please consider adding a boolean option to indicate whether to search through secondary email addresses or not.