I know we can use mail command in terminal to start using the mail program in interactive mode.
However, I want to read the email using mail command non-interactively.
Is there a command like
$ mail -optionToReadMail -mailNumber 1;
which will display the content of email in stdout ?