This repository was archived by the owner on May 21, 2026. It is now read-only.
v0.3.0
Minor Changes
-
8cf8524Thanks @marcfargas! - Beta release — own auth system, Google Tasks, reply CLI, file-based body flags, Markdown emails.Auth (BREAKING)
go-easy now owns its own OAuth2 tokens at
~/.go-easy/instead of reading from legacy CLI stores (~/.gmcli,~/.gdcli,~/.gccli).npx go-easy auth add <email>— agent-compatible two-phase OAuth flow (start → poll)npx go-easy auth list— list configured accounts and scopesnpx go-easy auth remove <email> --confirm— remove an account- One combined token per account covers Gmail + Drive + Calendar + Tasks
- Specific error codes with
fixfield:AUTH_NO_ACCOUNT,AUTH_MISSING_SCOPE,AUTH_TOKEN_REVOKED,AUTH_NO_CREDENTIALS
Google Tasks (NEW)
New service module and CLI for Google Tasks API:
npx go-tasks <account> lists— list task listsnpx go-tasks <account> tasks <listId>— list tasks with paginationnpx go-tasks <account> get/add/update/complete/move/delete— full CRUDnpx go-tasks <account> create-list/delete-list/clear— list management- Subtask support via
--parentflag - Library:
@marcfargas/go-easy/tasksexport - Requires re-auth for existing accounts (
npx go-easy auth add <email>)
Gmail CLI
- Add
replycommand — reply and reply-all with--reply-allflag (DESTRUCTIVE, requires--confirm) - Add
--in-reply-toflag fordraftcommand (thread association) - Add
--ccand--bccflags fordraftandsendcommands - Add
--page-tokenforsearchanddraftspagination
Body Flags (BREAKING)
Replace inline
--body,--html,--mdflags with file-based alternatives:--body-text-file=<path>— read plain text body from UTF-8 file--body-html-file=<path>— read HTML body from UTF-8 file--body-md-file=<path>— read Markdown body from file (auto-converted to HTML)
This eliminates shell escaping, encoding, and multiline issues for agent use.
Markdown Email Support
- New
markdownoption onsend,reply,forward, andcreateDraft - Auto-converts Markdown to email-safe HTML with inline styles
- GFM support: tables, strikethrough, code blocks, links, lists
markdownToHtml()helper exported from@marcfargas/go-easy/gmail
Forward Improvements
- Forward creates a draft by default (WRITE, no safety gate)
--send-now --confirmto send immediately (DESTRUCTIVE)- Attachment filtering:
--include=nameand--exclude=name(substring match) --no-threadto break out of the original thread- Body content appears above the forwarded message
Calendar
- Support all event types: working location, out-of-office, focus time, birthday
--page-tokenfor events pagination- Fix
updatecommand: use PATCH instead of PUT to prevent data loss on partial updates
Drive
--page-tokenforlsandsearchpagination
Fixes
- RFC 2047 encode Subject headers with non-ASCII characters
- Fix forward threading (keep in original thread by default)
- Fix auth HTML pages: add
<meta charset="utf-8">for emoji rendering