import keyring

remote_folders = [
    "[Gmail]/All Mail",
    "[Gmail]/Sent Mail",
    "[Gmail]/Spam",
    "[Gmail]/Starred",
    "[Gmail]/Trash",
    "[Gmail]/Drafts",
    "Bacn",
    "Software Regs"
]

local_folders = [
    "all_mail",
    "sent_mail",
    "spam",
    "starred",
    "trash",
    "drafts",
    "bacn",
    "software_regs"
]

local_to_remote_dict = dict(zip(local_folders, remote_folders))
remote_to_local_dict = dict(zip(remote_folders, local_folders))

def local_to_remote(mb):
    return local_to_remote_dict.get(mb, mb)

def remote_to_local(mb):
    return remote_to_local_dict.get(mb,mb)

14512079cd60fbf9af2b2362b3d52bfa2f7f5b9f
<mask token>

<mask token>


def remote_to_local(mb):
    return remote_to_local_dict.get(mb, mb)

<mask token>
remote_folders = ['[Gmail]/All Mail', '[Gmail]/Sent Mail', '[Gmail]/Spam',
    '[Gmail]/Starred', '[Gmail]/Trash', '[Gmail]/Drafts', 'Bacn',
    'Software Regs']
local_folders = ['all_mail', 'sent_mail', 'spam', 'starred', 'trash',
    'drafts', 'bacn', 'software_regs']
local_to_remote_dict = dict(zip(local_folders, remote_folders))
remote_to_local_dict = dict(zip(remote_folders, local_folders))


def local_to_remote(mb):
    return local_to_remote_dict.get(mb, mb)


def remote_to_local(mb):
    return remote_to_local_dict.get(mb, mb)

import keyring
remote_folders = ['[Gmail]/All Mail', '[Gmail]/Sent Mail', '[Gmail]/Spam',
    '[Gmail]/Starred', '[Gmail]/Trash', '[Gmail]/Drafts', 'Bacn',
    'Software Regs']
local_folders = ['all_mail', 'sent_mail', 'spam', 'starred', 'trash',
    'drafts', 'bacn', 'software_regs']
local_to_remote_dict = dict(zip(local_folders, remote_folders))
remote_to_local_dict = dict(zip(remote_folders, local_folders))


def local_to_remote(mb):
    return local_to_remote_dict.get(mb, mb)


def remote_to_local(mb):
    return remote_to_local_dict.get(mb, mb)

import keyring

remote_folders = [
    "[Gmail]/All Mail",
    "[Gmail]/Sent Mail",
    "[Gmail]/Spam",
    "[Gmail]/Starred",
    "[Gmail]/Trash",
    "[Gmail]/Drafts",
    "Bacn",
    "Software Regs"
]

local_folders = [
    "all_mail",
    "sent_mail",
    "spam",
    "starred",
    "trash",
    "drafts",
    "bacn",
    "software_regs"
]

local_to_remote_dict = dict(zip(local_folders, remote_folders))
remote_to_local_dict = dict(zip(remote_folders, local_folders))

def local_to_remote(mb):
    return local_to_remote_dict.get(mb, mb)

def remote_to_local(mb):
    return remote_to_local_dict.get(mb,mb)
