Closed lukesmurray closed 5 years ago
Imapclient has special capabilities to find unique folders if we upgrade to 2.1.0
For example these lines can be replaced.
https://github.com/soyapark/murmur/blob/4376da3f22c9af7ee8e398266070ba30a384e2b8/browser/sandbox.py#L57-L75
The new code would be
import imapclient drafts = mailbox._imap_client.find_special_folder(imapclient.DRAFTS) if drafts is not None: mailbox._imap_client.append(drafts, str(new_message))
merged in created events
Imapclient has special capabilities to find unique folders if we upgrade to 2.1.0
For example these lines can be replaced.
https://github.com/soyapark/murmur/blob/4376da3f22c9af7ee8e398266070ba30a384e2b8/browser/sandbox.py#L57-L75
The new code would be