TF-2611 Add adr for issue request full Email/get one-by-one

Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
dab246
2024-02-19 16:40:08 +07:00
committed by Dat Vu
parent 652fb48493
commit 4ed0402f6f
@@ -0,0 +1,21 @@
# 37. Only request full `Email/get` one-by-one
Date: 2024-02-19
## Status
Accepted
## Context
We use `Email/get` to get full email information to support reading emails in `offline` mode.
Therefore, it leads to request too many ids in `Email/get` at full level. `Back-End` have `limitation` for this leads to error
## Decision
- Get for maximum `5` latest email in `Email/changes`
- Execute `Email/get` at FULL level `one-by-one`
## Consequences
- Avoid BE errors and reading emails offline still works fine