Is there a command to list all the unread mails header, i know we can do mail -u <username> to list the certain number of mail headers but the problem with that is it goes to interactive mode and since i am using the mail -u <username> command to redirect the headers to the file i cannot have interactive mode.
