Connection Once configuration <configuration> is done, you can connect to your imap account imap_cli.connect imap_cli.disconnect