imapclient icon indicating copy to clipboard operation
imapclient copied to clipboard

High level API

Open NicolasLM opened this issue 7 years ago • 2 comments

There are a few common actions where the approach to choose depends on the extensions supported by the server, for instance:

  • Moving a message from a folder to another
  • Waiting for new messages
  • Finding well known folders (Sent, Deleted...)

We could introduce a higher level API that would pick the best approach based on what the server supports.

NicolasLM avatar Oct 02 '17 11:10 NicolasLM

That could make sense. As long as checking a capability is pretty fast (and so choosing the best alternative) and does not degrade performances, I don't see any problems letting IMAPClient handle the best way to do an operation.

mlorant avatar Oct 03 '17 21:10 mlorant

Added finding well known folders: between flags, patterns and namespaces, finding the Sent folder is harder than it looks.

NicolasLM avatar Jan 10 '18 15:01 NicolasLM