paper_firehose.commands.email_list

Email list command: generate HTML digest from papers.db and send via SMTP.

Prefers to be run after: filter, rank, abstracts, summarize.

Functions

run(config_path[, topic, mode, limit, ...])

Build HTML digest(s) and send via SMTP.

paper_firehose.commands.email_list.run(config_path, topic=None, *, mode='auto', limit=None, dry_run=False, recipients_file=None)[source]

Build HTML digest(s) and send via SMTP.

Parameters:
  • config_path (str) – Path to main config file

  • topic (Optional[str]) – Optional topic to send; if None, include all topics

  • mode (str) – Accepted for CLI compatibility; the implementation currently always renders ranked-style sections directly from the database regardless of value.

  • limit (Optional[int]) – Optional per-topic limit of items

  • dry_run (bool) – If True, do not send; write preview HTML under the runtime data directory

  • recipients_file (Optional[str]) – Optional YAML file describing per-recipient overrides

Return type:

None