Rémi Kowalski created JAMES-3378:
------------------------------------

             Summary: Email/Query filter by keywords
                 Key: JAMES-3378
                 URL: https://issues.apache.org/jira/browse/JAMES-3378
             Project: James Server
          Issue Type: New Feature
          Components: JMAP
            Reporter: Rémi Kowalski
            Assignee: Antoine Duprat
             Fix For: 3.6.0


As an user i want to be able to select messages by their keywords using the 
'hasKeyword' and 'notKeyword' filters.
 The following system flags are handled
 {{"$Draft"
"$Seen"
"$Flagged"
"$Answered"
"$Forwarded"}}
user keywords should be handled too
h3. Why

As an user i want to be able to select the mail in a mailbox like this :
 {{[[ "Email/query",\{
  "accountId": "ue150411c",
  "filter":  {
     "hasKeyword":  "$Flagged"
}
}, "0" ]]}}
h3. HOW
 * accept the filters 'hasKeyword' and 'notKeyword' in the filter condition 
from the request
 * filter the query with the provided keywords

h3. DOD
 * write integration demonstrating that a user can filter its emails by 
supported system keyword
 * write integration demonstrating that a user can filter its emails with valid 
user keyword



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to