INBOX = 'inbox'
DRAFTS = 'drafts'
SPAM = 'spam'
ARCHIVE = 'archive'
SENT = 'sent'
TRASH = 'trash'
ALL = 'all'
IMPORTANT = 'important'

# Default mapping to unify various provider behaviors
DEFAULT_FOLDER_MAPPING = {
    'inbox': INBOX,
    'drafts': DRAFTS,
    'draft': DRAFTS,
    'junk': SPAM,
    'spam': SPAM,
    'archive': ARCHIVE,
    'sent': SENT,
    'trash': TRASH,
    'all': ALL,
    'important': IMPORTANT,
}

INBOX = 'inbox'
DRAFTS = 'drafts'
SPAM = 'spam'
ARCHIVE = 'archive'
SENT = 'sent'
TRASH = 'trash'
ALL = 'all'
IMPORTANT = 'important'

# Default mapping to unify various provider behaviors
DEFAULT_FOLDER_MAPPING = {
    'inbox': INBOX,
    'drafts': DRAFTS,
    'draft': DRAFTS,
    'junk': SPAM,
    'spam': SPAM,
    'archive': ARCHIVE,
    'sent': SENT,
    'trash': TRASH,
    'all': ALL,
    'important': IMPORTANT,
}

DEFAULT_FOLDER_FLAGS = {
    '\\Trash': 'trash',
    '\\Sent': 'sent',
    '\\Drafts': 'drafts',
    '\\Junk': 'spam',
    '\\Inbox': 'inbox',
    '\\Spam': 'spam'
}

Add flag mapping to match folder roles
Add flag mapping to match folder roles

  INBOX = 'inbox'
  DRAFTS = 'drafts'
  SPAM = 'spam'
  ARCHIVE = 'archive'
  SENT = 'sent'
  TRASH = 'trash'
  ALL = 'all'
  IMPORTANT = 'important'
  
  # Default mapping to unify various provider behaviors
  DEFAULT_FOLDER_MAPPING = {
      'inbox': INBOX,
      'drafts': DRAFTS,
      'draft': DRAFTS,
      'junk': SPAM,
      'spam': SPAM,
      'archive': ARCHIVE,
      'sent': SENT,
      'trash': TRASH,
      'all': ALL,
      'important': IMPORTANT,
  }
  
+ DEFAULT_FOLDER_FLAGS = {
+     '\\Trash': 'trash',
+     '\\Sent': 'sent',
+     '\\Drafts': 'drafts',
+     '\\Junk': 'spam',
+     '\\Inbox': 'inbox',
+     '\\Spam': 'spam'
+ }
+ 
Add flag mapping to match folder roles
## Code Before:
INBOX = 'inbox'
DRAFTS = 'drafts'
SPAM = 'spam'
ARCHIVE = 'archive'
SENT = 'sent'
TRASH = 'trash'
ALL = 'all'
IMPORTANT = 'important'

# Default mapping to unify various provider behaviors
DEFAULT_FOLDER_MAPPING = {
    'inbox': INBOX,
    'drafts': DRAFTS,
    'draft': DRAFTS,
    'junk': SPAM,
    'spam': SPAM,
    'archive': ARCHIVE,
    'sent': SENT,
    'trash': TRASH,
    'all': ALL,
    'important': IMPORTANT,
}

## Instruction:
Add flag mapping to match folder roles
## Code After:
INBOX = 'inbox'
DRAFTS = 'drafts'
SPAM = 'spam'
ARCHIVE = 'archive'
SENT = 'sent'
TRASH = 'trash'
ALL = 'all'
IMPORTANT = 'important'

# Default mapping to unify various provider behaviors
DEFAULT_FOLDER_MAPPING = {
    'inbox': INBOX,
    'drafts': DRAFTS,
    'draft': DRAFTS,
    'junk': SPAM,
    'spam': SPAM,
    'archive': ARCHIVE,
    'sent': SENT,
    'trash': TRASH,
    'all': ALL,
    'important': IMPORTANT,
}

DEFAULT_FOLDER_FLAGS = {
    '\\Trash': 'trash',
    '\\Sent': 'sent',
    '\\Drafts': 'drafts',
    '\\Junk': 'spam',
    '\\Inbox': 'inbox',
    '\\Spam': 'spam'
}
