VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Done
    • 3.6.0
    • 3.6.0
    • JMAP
    • None

    Description

      First ticket to implement the filtering when querying emails.
      The handling of shared mailbox will be done later in another issues

      Why

      As an user i want to be able to select the mail in a mailbox like this :

      [[ "Email/query",{
      "accountId": "ue150411c",
      "filter":

      { "inMailbox": "myMailboxID" }

      }, "0" ]]

      I also want to be able to select emails NOT in a set of mailboxes

      [[ "Email/query",{
      "accountId": "ue150411c",
      "filter":

      { "inMailboxOtherThan": ["myMailboxID1", ""myMailboxID2"] }

      }, "0" ]]

       

      HOW

      • accept a simple FilterCondition with an optional 'inMailbox' field
      • accept a simple FilterCondition with an optional 'inMailboxOtherThan' field
      • filter the query with the provided mailboxId

       

      DOD

      • write integration demonstrating that a user can filter the email of one of its mailbox.
      • write integration demonstrating that a user can filter the email not in some of its mailboxes.
      • write integration demonstrating that a user can filter the email by both those filters. The expected result is the intersection of the results of both filters.

       

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            aduprat Antoine Duprat
            remi_kowalski Rémi Kowalski
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment