Email Manager
Run node {baseDir}/email-manager.js. Messages and drafts are stored as plaintext JSON in memory/email; on Windows choose a directory with a restrictive ACL. --dir <dedicated-directory> can precede the command. Optional settings.json supports the sender string only; remove any old SMTP credentials or tokens and review whether they need rotation.
--inbox [count] [--unread],--search <query>,--thread <id>,--status: inspect local records.--inbox --read <id>: mark a record read.--compose <to> <subject> [body]: save a local draft. Prefix the operands with--previewor--dry-runto preview without writing. The legacy--sendflag is also preview-only and never transmits mail.--inbox --delete <id> --confirm-delete: permanently delete a local record after the user approves.--clean-settings --confirm: remove fields other thansenderfrom an existing settings file after user approval.
Version 1.0.5 adds private atomic storage, repairs POSIX modes on existing state, implements local read/delete commands, and makes dry-run and send previews non-writing.
