import re
mapping = { 'INBOX': 'inbox'
- , '[Google Mail]/All Mail': 'all_mail'
+ , '[Google Mail]/All Mail': 'archive'
, '[Google Mail]/Drafts': 'drafts'
, '[Google Mail]/Important': 'important'
, '[Google Mail]/Sent Mail': 'sent'
return r_mapping.get(foldername, foldername)
top = [ 'inbox'
+ , 'flagged'
, 'chakra'
, 'unimaas'
, 'clementine'
, 'hotmail'
]
-bot = [ 'flagged'
+bot = [ 'archive'
, 'drafts'
, 'spam'
, 'bin'