>>> import easyimap >>> host = "imap.gmail.com" >>> user = "me@example.com" >>> password = "hogehogehogehoge" >>> mailbox = "secret" >>> imapper = easyimap.connect(host, user, password, mailbox)