To use a UNIX command while you are preparing a mail message use the command:
~! command
To include the output from a UNIX command into the mail message at this point, use the command:
~<! command