-mapping = { 'INBOX': 'inbox'
- , '[Google Mail]/All Mail': 'archive'
- , '[Google Mail]/Drafts': 'drafts'
- , '[Google Mail]/Important': 'important'
- , '[Google Mail]/Sent Mail': 'sent'
- , '[Google Mail]/Spam': 'spam'
- , '[Google Mail]/Starred': 'flagged'
- , '[Google Mail]/Bin': 'bin'
+mapping = { 'INBOX': 'inbox'
+ , 'Archive': 'archive'
+ , 'Drafts': 'drafts'
+ , 'Sent': 'sent'
+ , 'Junk Email': 'spam'
+ , 'Deleted Items': 'bin'
}
r_mapping = { val: key for key, val in mapping.items() }
def translocal(foldername):
return r_mapping.get(foldername, foldername)
-top = [ 'inbox'
- , 'flagged'
- , 'chakra'
- , 'unimaas'
- , 'clementine'
- , 'youtube'
- , 'hotmail'
- ]
+top = [ 'inbox' ]
bot = [ 'archive'
, 'drafts'