道 · 作
Tegami
Tegami (手紙, “letter”) is a small command-line tool for sending plain-text email from scripts and cron jobs without dragging in a heavy SDK.
The idea
Most notification libraries assume you want HTML, attachments, templating, and a vendor account. Sometimes you just want to send yourself a line when a backup finishes. Tegami does that — one binary, SMTP, no dependencies.
echo "nightly backup complete ✓" | tegami --to me@michi.sh --subject "backup ok"
What I learned
- Designing a CLI so the common case needs no flags and the rare case is still possible.
- How much friction a single static binary removes compared to “just
pip installthis.” - That “boring and finished” beats “ambitious and abandoned” — a recurring michi theme.