Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Done
-
None
-
None
-
None
Description
From spec: https://jmap.io/spec-core.html#get (section 5.1)
State: A string representing the state on the server for all the data of this type in the account (not just the objects returned in this call). If the data changes, this string MUST change. If the data is unchanged, servers SHOULD return the same state string on subsequent requests.
How
Whenever a Email/get request is received, we need to fetch the most recent state of Email objects stored in the EmailChangeRepository and return it in the response.
DoD
Integration tests to show that Email/get method can handle the `state` property.