Add mail CLI and config for gmail_handler operator UX (#292) - #298
Merged
rosspeili merged 3 commits intoAug 19, 2026
Conversation
Introduce skillware mail submenu, global/project mail: settings, HTML+plain signatures with logo, addressbook add wizard, and gmail_handler wiring so operators can init persistent user-config paths without editing the wheel.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Refs #292
Adds
skillware mailforoffice/gmail_handler: init and manage address book and email signatures from the CLI, without editing files inside the installed package.Operators can create persistent config under their user directory (
~/.config/skillware/or%APPDATA%/skillware/), add contacts, and set plain + HTML signatures (Skillware logo, tagline, disclaimer, links).skillware config showdisplays mergedmail.*settings. The skill reads those paths and appends signatures on new outbound mail only.Gmail’s web signature does not apply to SMTP sends; this gives agents a dedicated, skillware-managed signature instead.
Type of Change
skills/skills/skillware/core/loader, env, adaptersskillware/cli.py,docs/usage/cli.mdexamples/*.py, agent loops,examples/README.mdpyproject.toml,MANIFEST.inChecklist (all PRs)
Fixes #…orRefs #…)python -m black --check .andflake8pass locally (or CI-equivalent subset)pytest skills/andpytest tests/pass locally when relevantCHANGELOG.mdupdated under[Unreleased]when user-visible behavior changesexamples/README.mdupdated if this PR adds, renames, or removes a runnable scriptpytest tests/test_registry_docs.pywhen skills, examples index, or agent-loops matrix changedNew or updated skill
Bundle and metadata
skills/<category>/<skill_name>/(fromtemplates/python_skill/or equivalent)manifest.yaml:name(full ID),version,description,parameters,constitution, realissuershort_description,issuer.github,issuer.org,requirements,env_varsLogic, cognition, tests
skill.py(no ad-hoc LLM-generated execution paths)instructions.mdexplains when and how to use the skillcard.jsonissuer matches manifest when presenttest_skill.pycovers execution and schema expectationsSkillLoader.load_skill("<category>/<skill_name>")succeeds (or deps documented)Documentation and catalog
docs/skills/<skill_name>.mdand row indocs/skills/README.mdConstitution and safety (skills only)
Dedicated agent mailbox only; preview/confirm before send; recipient cap unchanged. Signatures apply to new mail only, not replies (follow-up issue).
Related Issues
Closes #292