mail — A draft in your own mailbox — openbash

Write a draft into this account's connected Gmail or Outlook. Nothing is sent.

mail

mail is a command on the openbash shell, reachable over HTTP, SSH and MCP with one key. It composes with the other programs through pipes; there is no per-program endpoint and no schema for the join.

mail draft outlook --to a@b.com --subject 'Q3 numbers' --body-file /tmp/note.md

https://outlook.office.com/mail/deeplink/compose/AAMk...

help

mail: write a draft into this account's own mailbox.

USAGE
  mail draft gmail|outlook --to A[,B] --subject S --body B [--cc …] [--bcc …] [--html]
  mail draft outlook --to a@b.com --subject 'Q3' --body-file /tmp/note.md

RETURNS
  A link that opens the draft, so a person can read what was written before
  deciding anything about it.

DOES NOT COVER
  Sending. There is no `mail send`, on purpose: correspondence is left where
  somebody will read it, and reaching a recipient is their decision.

  Reading mail, or any mailbox but this account's. The account comes from the
  session, so no argument can name another.