You have new mail on macos code example
Example: Why does terminal say: “You have mail”?
By yagooar
Type mail into terminal.
Then type in d * and press Enter.
The d command means delete and the * selects all mails in the list.
Then press q to quit.