Mail

List, read, and send mail.

Browse a mailbox and deliver messages through a connection resolved from the connections store. Listing returns header-level summaries newest first, reading fetches one message by uid and returns its parsed headers and body, and sending delivers a message. Useful for reacting to incoming mail, notifying people at the end of a run, or forwarding a generated document.

Components

Each component links to its own page with its full options and outputs.

NameDescription
mail:listLists messages in a mailbox, newest first, through whichever connection answers the mail:list capability.
mail:readFetches one message and returns its parsed headers and bodies, through whichever connection answers the mail:read capability.
mail:sendDelivers one message through whichever connection answers the mail:send capability.