class yamf: def __init__(self, host, port, user, pw, imap = imaplib.IMAP4_SSL): self.imap = imap(host, port) self.imap.login(user, pw) print(self.imap.welcome.decode()) # this is how far I am