TF-3674 Add ADR for logic reply email

Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
dab246
2025-04-21 13:39:03 +07:00
committed by Dat H. Pham
parent caa7908f19
commit 90f4e0b746
13 changed files with 110 additions and 12 deletions
+26
View File
@@ -0,0 +1,26 @@
# 60. Team Mailboxes Matching
Date: 2025-02-18
## Status
Accepted
## Context
- Team mailboxes were not considered when sending emails
- Sent emails were saved to default sent mailbox, although selected identity's email was based on team mailbox email
- User does not have permission to edit mailboxes of team mailboxes
## Decision
- Instead of hard coding default sent mailbox, sent emails will be saved to mailbox based on
- identity's email
- mailbox's name (hard coded English)
- Only when there's no matching mailbox, default sent mailbox will be used
- Same logic is applied to drafts mailbox and outbox mailbox
## Consequences
- Team mailboxes will be considered when sending emails
- Potentially, if team mailboxes existed but the name is not in English, sent emails will be saved to default sent mailbox