How can I send email through a Terminal window?
You did not specify which inbox you checked, but if you use mail &lt;your mac userid&gt;, you can then read that mail by running the mail command without any arguments.  I am not sure how useful this might be, but it does work.

man mail from a shell prompt will give you more background info into the mail command.

If you are looking to send email to an external (SMTP) mail server from a shell prompt (like the one in the Terminal window), you will need to use a message transfer agent or MTA.  This is something far more useful, although it requires much more setup overhead.

Alternatively, you might be able to use Applescript and/or Automator to automate sending messages through Mail.app through a previously configured email account.