I think it would be useful to have a method for marking e-mails as not seen, so reversing the mark_seen method. I do need it in my project. Would it be something as simple as adding:
def mark_unseen(self, uid):
logger.info("Delete \\Seen FLAG from UID {}".format(int(uid)))
self.connection.uid('STORE', uid, '-FLAGS', '(\\Seen)')
I think it would be useful to have a method for marking e-mails as not seen, so reversing the
mark_seen
method. I do need it in my project. Would it be something as simple as adding:inside Imbox.py? If so I'd be happy to make a PR.