Script to check multiple imap accounts