(C-x means ctrl+x, M-x means alt+x)
The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:
| import email, getpass, imaplib, os | |
| detach_dir = '.' # directory where to save attachments (default: current) | |
| user = raw_input("Enter your GMail username:") | |
| pwd = getpass.getpass("Enter your password: ") | |
| # connecting to the gmail imap server | |
| m = imaplib.IMAP4_SSL("imap.gmail.com") | |
| m.login(user,pwd) | |
| m.select("cs2043") # here you a can choose a mail box like INBOX instead |