@girishramnani the README instructions don't work with this branch. g.inbox() results in None, but you can get it with g.mailbox(bytes('INBOX', 'ascii'). However, from there, Mailbox.mail() produces the following error:
68 if response == 'OK':
69 # filter out empty strings
---> 70 uids = [_f for _f in data[0].split(' ') if _f]
71
72 for uid in uids:
TypeError: a bytes-like object is required, not 'str'
@girishramnani the README instructions don't work with this branch.
g.inbox()
results inNone
, but you can get it withg.mailbox(bytes('INBOX', 'ascii')
. However, from there,Mailbox.mail()
produces the following error: