Email account using wrong account for storage
Description
when creating an email account with the same name as another email account, it wont be delivered to the correct account as per configuration
Steps to Reproduce
- have email account named accounts@example1 for one domain
- add a second account(accounts2) for the emails in accounts@example2
- route mail using manage mailboxes to the accounts2 for accounts@example2
- check mail box, emails from accounts@example1 appear in accounts@example2 inbox
- select user settings on accounts@example2 in the manage mailbox page and it will take you to the main user account for accounts@example1
Expected Behavior
accounts@example1 and accounts@example2 to be different inboxes
Actual Behavior
they use the same base storage
Environment
APISCP Version: revision: 34ed4ba48b85b4fbfd6888c21d93a6d01409a671
timestamp: 1694138118
ver_maj: 3
ver_min: 2
ver_patch: 38
ver_pre: ‘’
dirty: false
debug: false
Operating System: `5.4.251-1.el8.elrepo.x86_64 rocky linux 8.7
Additional relevant information (e.g., PHP version, database, etc.):
N/A