googGitHub

List, read and edit Gmail drafts

Find your drafts, read them, and change only what you need. Attachments and the reply thread stay intact.

v0.2.11
claude
✻ Welcome to Claude Code
cwd: ~/work
>
Drafts - Gmail
mail.google.com/mail/u/0/#drafts
A
DraftQ3 status update - Hi Dana, the Q3 report is attached.Nov 27
DraftOffsite agenda - Rough agenda for the January offsite.Nov 21
Q3 status update
Todana@acme.com
SubjectQ3 status update

Hi Dana,

The Q3 report is attached. Revenue came in at $4.1M.

q3-report-v1.pdf

Find and read drafts

Search drafts with the same query syntax as Gmail, then read one in full.

$goog mail drafts 'subject:status'
$goog mail read-draft DRAFT_ID

Edit in place

goog mail draft DRAFT_ID changes only the fields you pass. Untouched fields, attachments and the reply thread stay as they were.

$goog mail draft DRAFT_ID --body @./revised.txt
$goog mail draft DRAFT_ID --add-cc lead@example.com --remove-attachment old-report.pdf
Downloads and checksums on GitHub