MBOX-Line: From blong at google.com  Fri Jan 24 11:16:52 2014
To: imap-protocol@u.washington.edu
From: Brandon Long <blong@google.com>
Date: Fri Jun  8 12:34:52 2018
Subject: [Imap-protocol] Gmail and IDLE flags changes
In-Reply-To: <CAKHUCzwDRjTSNMDOdtmXi5vsPLk=vwgPK4Y4qgrsAVdpWyn0dg@mail.gmail.com>
References: <CABDm0O-OnP08r5-d6EpU9JM34FAaebRQGOUwRNi1nY=+x9BhBQ@mail.gmail.com>
	<5955E352-F7CD-4DBB-A191-F748CCD3932E@gmail.com>
	<52E18829.40305@earthlink.net>
	<CABa8R6u0_=+EesY6=P2RasNaGzGgPmRdOHfE32f8Tw44baSPFw@mail.gmail.com>
	<CAKHUCzwDRjTSNMDOdtmXi5vsPLk=vwgPK4Y4qgrsAVdpWyn0dg@mail.gmail.com>
Message-ID: <CABa8R6tdfj+q-dmFaANw7Ka3h5t5fO52+NRF9yUpK-VLKwuDxQ@mail.gmail.com>

The RFC only says SHOULD, ie:

   Server
   implementations that offer multiple simultaneous access to the same
   mailbox SHOULD also send appropriate unilateral untagged FETCH and
   EXPUNGE responses if another agent changes the state of any message
   flags or expunges any messages


Currently, Gmail never sends unsolicited untagged FETCH responses.  This
has been documented in our help center since day one, ie:
https://support.google.com/mail/answer/78761?hl=en&ref_topic=3397501

This was done due to the expensive nature of providing that feature with
the capabilities our backend had.  We've been working on adding support for
this for some time, but I'm not sure when/if it will ever launch.

Brandon


On Fri, Jan 24, 2014 at 8:07 AM, Dave Cridland <dave@cridland.net> wrote:

> That implies you'd expect flag changes to be sent during other commands,
> like NOOP etc? I thought Gmail never sent any unsolicited flag changes at
> all - am I wrong?
>
>
> On Thu, Jan 23, 2014 at 9:32 PM, Brandon Long <blong@google.com> wrote:
>
>> Yes, gmail currently only notifies of new messages and expunged messages
>> during idle.
>>
>> Brandon
>> On Jan 23, 2014 1:26 PM, "Rick Sanders" <rfs9999@earthlink.net> wrote:
>>
>>> Is it true that Gmail does not send notification to a client which is
>>> idling on a mailbox?
>>>
>>> I ran across that while testing some code that detects flag changes
>>> using IDLE and I was surprised that I did not get anything from Gmail.
>>>
>>> Google searches suggest that's the case.
>>>
>>> Thanks,
>>> Rick
>>>
>>> --
>>> Rick Sanders
>>> rfs9999@earthlink.net
>>> IMAP Tools  http://www.athensfbc.com/imap-tools
>>> _______________________________________________
>>> Imap-protocol mailing list
>>> Imap-protocol@u.washington.edu
>>> http://mailman2.u.washington.edu/mailman/listinfo/imap-protocol
>>>
>>
>> _______________________________________________
>> Imap-protocol mailing list
>> Imap-protocol@u.washington.edu
>> http://mailman2.u.washington.edu/mailman/listinfo/imap-protocol
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman13.u.washington.edu/pipermail/imap-protocol/attachments/20140124/3c071572/attachment.html>
