def do_unseen(self, arg):
        search_criterion = search.create_search_criterion(tags=['unseen'])
        mail_set = search.fetch_uids(self.imap_account,
                                     search_criterion=search_criterion)
        if len(mail_set) == 0:
            log.error('No unseen mail found')
        else:
            for mail_info in search.fetch_mails_info(self.imap_account,
                                                     mail_set=mail_set):
                sys.stdout.write(
                    u'UID : {:<10} From : {:<40.40} Subject : {:.50}\n'.format(
                        mail_info['uid'],
                        mail_info['from'],
                        mail_info['subject']))
Stop Jasmind daemon
dataset/ETHPy150Open Gentux/imap-cli/imap_cli/scripts/imap_shell.py/ImapShell.do_unseen--crossover with--dataset/ETHPy150Open jookies/jasmin/jasmin/bin/jasmind.py/JasminDaemon.stop