aboutsummaryrefslogtreecommitdiffstats
path: root/.gitignore
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-08-03 11:30:06 +0200
committerDanilo M. <danix@danix.xyz>2026-08-03 11:30:06 +0200
commit9f586a8e79c73cba5267aa1848c72123ded37f9b (patch)
tree011a0ea05a9858dd0759b9c267712fc218084b5c /.gitignore
downloadmailctl-master.tar.gz
mailctl-master.zip
Initial commit: agent-safe notmuch wrapperHEADmaster
mailctl is a deliberately narrow CLI wrapper around notmuch, built so an AI coding agent can search and organize local mail with no ability to send. There is no SMTP, reply, or compose code path in the tool. Safety model: - reads run freely, mutations are gated - tag changes are dry-run until --apply - cross-account mutations need an explicit --all-accounts - destructive tags need --apply and --confirm-destructive - bulk mutations are capped by --max-messages - every applied mutation is audited to a local log Accounts are not in the source. They load from ~/.config/mailctl/accounts.json and are validated against both the schema and the actual maildirs on disk at import time, so a typo cannot produce a query matching nothing or a draft under the wrong identity. Ships with mailsync.sh (a separate mbsync + notmuch new driver, meant for cron) and mail-organize, a Claude Code skill that makes mailctl the only sanctioned interface to the user's mail. Licensed GPLv2-only. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore4
1 files changed, 4 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..5a2009b
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+__pycache__/
+
+# Local-only: real sender addresses and mail history, not for the repo.
+HOOK-RULES.md