I would like to print the number of unread messages for all the email accounts belonging to a certain user. Is there a way to do it without root permissions?
One idea is to get the mailboxes withand use something like the mailcheck tool for ubuntu, but I see there is no package for it on yum. Maybe there is a simpler way. I wanted an output similar to this:
One idea is to get the mailboxes with
cpapi2 --user=username Email browseboxes account=someuser