>>>>> Sebastian Spaeth <Sebastian at SSpaeth.de> writes: > When invoked with FETCH 1:* (UID), imaplib returns [None] for empty > folders. We need to protect against this case and simply 'continue' here. Thanks, that's fixed it. John