This may be considered the initializer of the protocol, because it is
called when the connection is completed. For clients, this is called once
the connection to the server has been established; for servers, this is
called after an accept() call stops blocking and a socket has been
received. If you need to send any greeting or initial message, do it
here.

This should perform any checkpoint operations required by the server. It
may be a long running operation, but may not block. If it returns a
deferred, the client will only be informed of success (or failure) when the
deferred's callback (or errback) is invoked.

A list whose first element starts with a stringified date that is a
fragment of an imap4.Query(). The
date must be in the format 'DD-Mon-YYYY', for example '03-March-2003' or
'03-Mar-2003'. (type: A list of str)

A list whose first element starts with a stringified date that is a
fragment of an imap4.Query(). The
date must be in the format 'DD-Mon-YYYY', for example '03-March-2003' or
'03-Mar-2003'. (type: A list of str)

A list whose first element starts with a stringified date that is a
fragment of an imap4.Query(). The
date must be in the format 'DD-Mon-YYYY', for example '03-March-2003' or
'03-Mar-2003'. (type: A list of str)