Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def downloadIMAPMail():
accountKind = Mail.MailParcel.getIMAPAccountKind()
for account in Query.KindQuery().run([accountKind]):
imap.IMAPDownloader(account).getMail()