email

Fetch IMAP email into the project, send a message, or list the email accounts.

SKILL.md

GitHub

The engineer typed /email $ARGUMENTS.

  1. Where the first word is help, print the text of help.md, in this skill's directory, and do nothing more.
  2. Where nothing was typed, it is /email fetch.
  3. Where the first word is fetch or list, load the rule that governs the act. From the project root, run slasher/system/foundation/load-rules.sh email-fetches-the-accounts-named-and-lists-them-without-credentials. Where the project has no slasher/ directory, run system/foundation/load-rules.sh with the same rule name. Follow the rule it prints.
  4. Where the first word is send, the smtp package carries the act. Where it is not installed, or is deactivated, say so, and do nothing more. Otherwise, load the rule that governs the act. From the project root, run slasher/system/foundation/load-rules.sh smtp-sends-a-message-only-after-the-engineer-confirms-it. Where the project has no slasher/ directory, run system/foundation/load-rules.sh with the same rule name. Follow the rule it prints.
  5. Any other first word is not guessed at. Say it is not one of this command's subcommands, and ask which is meant, through the selection interface: fetch, send, list, or help.